Skip to content

Commit

Permalink
Skip macOS with exclusion (#2276)
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe authored Jan 8, 2024
1 parent 95fe74d commit c32eb8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c32eb8f

Please sign in to comment.