Give actions: write
perms to TagBot (#25)
#39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
concurrency: | |
# Skip intermediate builds: all builds except for builds on the `master` branch | |
# Cancel intermediate builds: only pull request builds | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.ref != 'refs/heads/master' || github.run_number }} | |
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | |
permissions: | |
contents: read | |
jobs: | |
finalize: | |
timeout-minutes: 10 | |
needs: | |
- no-ci | |
# Important: the next line MUST be `if: always()`. | |
# Do not change that line. | |
# That line is necessary to make sure that this job runs even if tests fail. | |
if: always() | |
runs-on: ubuntu-latest | |
steps: | |
- run: | | |
echo no-ci: ${{ needs.no-ci.result }} | |
- run: exit 1 | |
# The last line must NOT end with || | |
# All other lines MUST end with || | |
if: | | |
(needs.no-ci.result != 'success') | |
no-ci: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- run: | | |
echo "::warning ::Currently we do not have any CI for this repo. https://github.com/JuliaParallel/LSFClusterManager.jl/issues/6" | |
# tests: | |
# runs-on: ubuntu-latest | |
# timeout-minutes: 20 | |
# strategy: | |
# fail-fast: false | |
# matrix: | |
# version: | |
# - '1.2' # minimum Julia version supported in Project.toml | |
# - '1.6' # previous LTS | |
# - '1.10' # current LTS | |
# - '1' # automatically expands to the latest stable 1.x release of Julia | |
# steps: | |
# - uses: actions/checkout@v4 | |
# with: | |
# persist-credentials: false | |
# - uses: julia-actions/setup-julia@v2 | |
# with: | |
# version: ${{ matrix.version }} | |
# - uses: julia-actions/julia-runtest@v1 |