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 22, 2024
1 parent 9bef815 commit f5dffa5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ concurrency:

jobs:
test-nightly:
# 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') || (github.ref_type == 'tag')
timeout-minutes: 150
runs-on: ${{ matrix.github-runner }}
strategy:
Expand Down
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') || (github.ref_type == 'tag')
timeout-minutes: 150
runs-on: ${{ matrix.github-runner }}
strategy:
Expand Down Expand Up @@ -109,6 +112,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 f5dffa5

Please sign in to comment.