From 034a082fa01050f5da4ac5e15a5cde2b6d09aa99 Mon Sep 17 00:00:00 2001 From: Esko Dijk Date: Fri, 5 Jul 2024 12:23:21 +0200 Subject: [PATCH] [.github] enable py-ver-unittests for all platforms (incl macos); update deprecated cancel-previous-runs. --- .github/workflows/test.yml | 37 ++++++------------------------------- 1 file changed, 6 insertions(+), 31 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fdba112f..7d1147df 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: @@ -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