Skip to content

Commit

Permalink
TST: Try python == 3.11 with github event_name check on push.
Browse files Browse the repository at this point in the history
  • Loading branch information
qchempku2017 committed Sep 23, 2023
1 parent 5b88416 commit aa92bdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
# If using python 3.11, need to restrict PR codacy report to PR within the same repo,
# so that PR across forks will not be reported. Otherwise, will fail to run the report action.
# Here we revert to python = 3.11.
- if: ${{ matrix.python_version == 3.11}}
- 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 aa92bdb

Please sign in to comment.