Skip to content

Commit

Permalink
Update CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
luiarthur committed May 21, 2024
1 parent c96fe01 commit cd904b3
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ jobs:
runs-on: ${{ matrix.os }}

# Don't run tests when merging PRs, they would have been run already and tests
# should have passed. The following checks hat the committer's email
# contains noreply; if it does, it's probably from github actions.
if: ${{ !contains(github.event.head_commit.committer.email, 'noreply') }}
# should have passed. The following checks hat the committer's username is web-flow;
# if it is, it's probably from github actions.
# NOTE: Directly editing code on GitHub on the main branch pybasses tests, and is
# discouraged. If editing code on GitHub, please submit a PR by creating a temporary branch.
if: |
github.ref != 'refs/heads/main' ||
!contains(github.event.head_commit.committer.username, 'web-flow')
continue-on-error: ${{ matrix.python-version == 3.6 || matrix.os == 'windows-latest' }}
strategy:
Expand Down

0 comments on commit cd904b3

Please sign in to comment.