Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract Autobahn test suite to a separate CI step #199

Merged
merged 1 commit into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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