Skip to content

Commit

Permalink
Extract Autobahn test suite to a separate CI step (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
cristaloleg authored May 3, 2024
1 parent af7917f commit 4f03007
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 17 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/autobahn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Autobahn

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '0 10 * * 1' # run "At 10:00 on Monday"

concurrency:
group: autobahn-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
strategy:
matrix:
os: [ ubuntu-latest ]
go: [ 'stable', 'oldstable' ]

runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
check-latest: true

- name: Autobahn
env:
CRYPTOGRAPHY_ALLOW_OPENSSL_102: yes
run: |
make test autobahn
- name: Autobahn Report Artifact
uses: actions/upload-artifact@v4
with:
name: autobahn report ${{ matrix.go }} ${{ matrix.os }}
path: autobahn/report
retention-days: 7
17 changes: 0 additions & 17 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,3 @@ jobs:
- name: Test
run: |
go test -v -race -shuffle=on -cover ./...
- name: Autobahn
if: >-
startsWith(matrix.os, 'ubuntu')
env:
CRYPTOGRAPHY_ALLOW_OPENSSL_102: yes
run: |
make test autobahn
- name: Autobahn Report Artifact
if: >-
startsWith(matrix.os, 'ubuntu')
uses: actions/upload-artifact@v4
with:
name: autobahn report ${{ matrix.go }} ${{ matrix.os }}
path: autobahn/report
retention-days: 7

0 comments on commit 4f03007

Please sign in to comment.