Skip to content

Commit f5dffa5

Browse files
authored
CI: Don't run the test suite on tags (but do build the docs on tags) (#1009)
1 parent 9bef815 commit f5dffa5

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/ci.nightly.yml

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ concurrency:
1717

1818
jobs:
1919
test-nightly:
20+
# We do not run the full test suite on tags, because we already ran it on master before we made the release.
21+
# We do build the docs on tags.
22+
if: (github.event_name != 'push') || (github.ref_type == 'tag')
2023
timeout-minutes: 150
2124
runs-on: ${{ matrix.github-runner }}
2225
strategy:

.github/workflows/ci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ jobs:
3939
steps:
4040
- run: exit 0
4141
test:
42+
# We do not run the full test suite on tags, because we already ran it on master before we made the release.
43+
# We do build the docs on tags.
44+
if: (github.event_name != 'push') || (github.ref_type == 'tag')
4245
timeout-minutes: 150
4346
runs-on: ${{ matrix.github-runner }}
4447
strategy:
@@ -109,6 +112,7 @@ jobs:
109112
env:
110113
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
111114
docs:
115+
# We do build the docs on tags.
112116
runs-on: ubuntu-latest
113117
timeout-minutes: 30
114118
steps:

0 commit comments

Comments
 (0)