diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 39b0b6b4a..1b8570181 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -56,6 +56,8 @@ jobs: - macos-12 index: [0, 1, 2, 3, 4, 5, 6, 7] total: [8] + exclude: + - os: ${{ github.ref == 'refs/heads/main' && '' || 'macos-12' }} runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 @@ -68,7 +70,6 @@ jobs: path: target/release - run: chmod +x target/release/pen - run: tools/integration_test.sh $(find features -name *.feature | sort | awk 'NR % ${{ matrix.total }} == ${{ matrix.index }}') - if: startsWith(matrix.os, 'ubuntu') || github.ref == 'refs/heads/main' integration_test: runs-on: ubuntu-latest needs: feature_test