Skip to content

Commit

Permalink
revert back to old check and skip run if PR merge
Browse files Browse the repository at this point in the history
  • Loading branch information
lbluque committed Sep 27, 2023
1 parent 25717f6 commit 531abb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:

jobs:
test:
if: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !contains( github.event.head_commit.message, 'Merge pull request')) }}
# Only 20.04 is known to work with scip 8.0.0
runs-on: ubuntu-20.04
strategy:
Expand Down Expand Up @@ -56,7 +57,7 @@ jobs:
pytest tests --cov=smol --cov-report=xml
- uses: actions/checkout@v4
- if: ${{ matrix.python_version == '3.11' && (github.event_name == 'pull_request' || (github.event_name == 'push' && !contains( github.event.head_commit.message, 'Merge pull request'))) }}
- if: matrix.python_version == '3.11' && github.event_name == 'push'
name: codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@v1
with:
Expand Down

0 comments on commit 531abb7

Please sign in to comment.