Skip to content

Commit 6c55c99

Browse files
committed
Separate workflow for autobahn server tests.
1 parent 072cac0 commit 6c55c99

File tree

3 files changed

+70
-10
lines changed

3 files changed

+70
-10
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Autobahn Server Tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ${{matrix.os}}-latest
8+
continue-on-error: ${{matrix.experimental}}
9+
10+
strategy:
11+
matrix:
12+
os:
13+
- ubuntu
14+
15+
ruby:
16+
- "3.0"
17+
18+
experimental: [false]
19+
env: [""]
20+
21+
env:
22+
BUNDLE_WITH: autobahn_tests
23+
24+
steps:
25+
- uses: actions/checkout@v2
26+
- uses: ruby/setup-ruby@v1
27+
with:
28+
ruby-version: ${{matrix.ruby}}
29+
bundler-cache: true
30+
31+
- uses: actions/setup-python@v2
32+
with:
33+
python-version: pypy2
34+
35+
- name: Run Autobahn server tests
36+
timeout-minutes: 5
37+
run: ${{matrix.env}} ruby autobahn-tests/autobahn-server-tests.rb

.github/workflows/development.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
matrix:
1212
os:
1313
- ubuntu
14-
# - macos
14+
- macos
1515

1616
ruby:
1717
- "2.6"
@@ -32,22 +32,13 @@ jobs:
3232
ruby: head
3333
experimental: true
3434

35-
env:
36-
BUNDLE_WITH: autobahn_tests
37-
3835
steps:
3936
- uses: actions/checkout@v2
4037
- uses: ruby/setup-ruby@v1
4138
with:
4239
ruby-version: ${{matrix.ruby}}
4340
bundler-cache: true
44-
- uses: actions/setup-python@v2
45-
with:
46-
python-version: pypy2
4741

4842
- name: Run tests
4943
timeout-minutes: 5
5044
run: ${{matrix.env}} bundle exec rspec
51-
- name: Run Autobahn server tests
52-
timeout-minutes: 5
53-
run: ${{matrix.env}} ruby autobahn-tests/autobahn-server-tests.rb

.github/workflows/documentation.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: ruby/setup-ruby@v1
15+
env:
16+
BUNDLE_WITH: maintenance
17+
with:
18+
ruby-version: 2.7
19+
bundler-cache: true
20+
21+
- name: Installing packages
22+
run: sudo apt-get install wget
23+
24+
- name: Generate documentation
25+
timeout-minutes: 5
26+
run: bundle exec bake utopia:project:static
27+
28+
- name: Deploy documentation
29+
uses: JamesIves/github-pages-deploy-action@4.0.0
30+
with:
31+
branch: docs
32+
folder: docs

0 commit comments

Comments
 (0)