Skip to content

Commit

Permalink
[.github] enable py-ver-unittests for all platforms (incl macos); upd…
Browse files Browse the repository at this point in the history
…ate deprecated cancel-previous-runs.
  • Loading branch information
EskoDijk committed Jul 5, 2024
1 parent 60c81b2 commit 034a082
Showing 1 changed file with 6 additions and 31 deletions.
37 changes: 6 additions & 31 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,13 @@ on:
branches:
- 'main'

jobs:
cancel-previous-runs:
runs-on: ubuntu-22.04
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
if: "github.ref != 'refs/heads/main'"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
go-tests:
name: Go Tests on ${{ matrix.os }}
name: Go Tests (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 60
strategy:
Expand Down Expand Up @@ -82,30 +78,9 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v3
- name: Test single OT-version
- name: Test latest OT-version
run: |
./script/test py-unittests
py-ver-unittests:
name: Unittests-Version (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
os: [ubuntu-22.04]
env:
HOMEBREW_NO_AUTO_UPDATE: 1
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v3
- name: Test multiple OT-versions
run: |
./script/test py-ver-unittests
Expand Down

0 comments on commit 034a082

Please sign in to comment.