Skip to content

Commit 4f03007

Browse files
authored
Extract Autobahn test suite to a separate CI step (#199)
1 parent af7917f commit 4f03007

File tree

2 files changed

+44
-17
lines changed

2 files changed

+44
-17
lines changed

.github/workflows/autobahn.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Autobahn
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
schedule:
9+
- cron: '0 10 * * 1' # run "At 10:00 on Monday"
10+
11+
concurrency:
12+
group: autobahn-${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
test:
17+
strategy:
18+
matrix:
19+
os: [ ubuntu-latest ]
20+
go: [ 'stable', 'oldstable' ]
21+
22+
runs-on: ${{ matrix.os }}
23+
steps:
24+
- name: Checkout
25+
uses: actions/checkout@v4
26+
27+
- name: Setup Go
28+
uses: actions/setup-go@v5
29+
with:
30+
go-version: ${{ matrix.go }}
31+
check-latest: true
32+
33+
- name: Autobahn
34+
env:
35+
CRYPTOGRAPHY_ALLOW_OPENSSL_102: yes
36+
run: |
37+
make test autobahn
38+
39+
- name: Autobahn Report Artifact
40+
uses: actions/upload-artifact@v4
41+
with:
42+
name: autobahn report ${{ matrix.go }} ${{ matrix.os }}
43+
path: autobahn/report
44+
retention-days: 7

.github/workflows/main.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,3 @@ jobs:
4545
- name: Test
4646
run: |
4747
go test -v -race -shuffle=on -cover ./...
48-
49-
- name: Autobahn
50-
if: >-
51-
startsWith(matrix.os, 'ubuntu')
52-
env:
53-
CRYPTOGRAPHY_ALLOW_OPENSSL_102: yes
54-
run: |
55-
make test autobahn
56-
57-
- name: Autobahn Report Artifact
58-
if: >-
59-
startsWith(matrix.os, 'ubuntu')
60-
uses: actions/upload-artifact@v4
61-
with:
62-
name: autobahn report ${{ matrix.go }} ${{ matrix.os }}
63-
path: autobahn/report
64-
retention-days: 7

0 commit comments

Comments
 (0)