Skip to content

Commit ecfd35d

Browse files
authored
Update ci.yml
1 parent c60c4bb commit ecfd35d

File tree

1 file changed

+19
-20
lines changed

1 file changed

+19
-20
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -12,31 +12,30 @@ concurrency:
1212
permissions:
1313
contents: read
1414
jobs:
15+
finalize:
16+
timeout-minutes: 10
17+
needs:
18+
- no-ci
19+
# Important: the next line MUST be `if: always()`.
20+
# Do not change that line.
21+
# That line is necessary to make sure that this job runs even if tests fail.
22+
if: always()
23+
runs-on: ubuntu-latest
24+
steps:
25+
- run: |
26+
echo no-ci: ${{ needs.no-ci.result }}
27+
- run: exit 1
28+
# The last line must NOT end with ||
29+
# All other lines MUST end with ||
30+
if: |
31+
(needs.no-ci.result != 'success')
1532
no-ci:
1633
timeout-minutes: 10
17-
if: false
1834
runs-on: ubuntu-latest
1935
steps:
2036
- run: |
21-
echo "Currently we do not have any CI for this repo. https://github.com/JuliaParallel/LSFClusterManager.jl/issues/6"
22-
# finalize:
23-
# timeout-minutes: 10
24-
# needs:
25-
# - unit-tests
26-
# # Important: the next line MUST be `if: always()`.
27-
# # Do not change that line.
28-
# # That line is necessary to make sure that this job runs even if tests fail.
29-
# if: always()
30-
# runs-on: ubuntu-latest
31-
# steps:
32-
# - run: |
33-
# echo unit-tests: ${{ needs.unit-tests.result }}
34-
# - run: exit 1
35-
# # The last line must NOT end with ||
36-
# # All other lines MUST end with ||
37-
# if: |
38-
# (needs.unit-tests.result != 'success')
39-
# unit-tests:
37+
echo "::warning Currently we do not have any CI for this repo. https://github.com/JuliaParallel/LSFClusterManager.jl/issues/6"
38+
# tests:
4039
# runs-on: ubuntu-latest
4140
# timeout-minutes: 20
4241
# strategy:

0 commit comments

Comments
 (0)