Skip to content

Commit

Permalink
CI: Don't run the test suite on tags (but do build the docs on tags)
Browse files Browse the repository at this point in the history
  • Loading branch information
DilumAluthge authored Nov 21, 2024
1 parent 8d6fce0 commit 39e7c00
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
steps:
- run: exit 0
test:
# We do not run the full test suite on tags, because we already ran it on master before we made the release.
# We do build the docs on tags.
if: (github.event_name != 'push') || (if: github.ref_type == 'tag')
timeout-minutes: 150
runs-on: ${{ matrix.github-runner }}
strategy:
Expand Down Expand Up @@ -124,6 +127,7 @@ jobs:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
docs:
# We do build the docs on tags.
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
Expand Down

0 comments on commit 39e7c00

Please sign in to comment.