Skip to content

Commit

Permalink
Condition on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
simsurace committed Feb 13, 2024
1 parent 0203cff commit 3c95a1b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/Downgrade-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

jobs:
generate-matrix:
if: contains(github.event.pull_request.labels.*.name, 'downgrade-ci')
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.genmat.outputs.matrix }}
Expand Down Expand Up @@ -39,3 +40,20 @@ jobs:
- run: julia -e 'using Pkg; pkg"add CompatHelperLocal"'
- run: julia -e 'using Pkg; pkg"add ."'
- run: julia -e 'import CompatHelperLocal as CHL; import AbstractGPs; CHL.test_compats_combinations(AbstractGPs, [${{ matrix.compats }}])'
test-simple:
if: ${{ ! contains(github.event.pull_request.labels.*.name, 'downgrade-ci') }}
runs-on: ubuntu-latest
strategy:
matrix:
version: 1
arch: x64
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
- uses: cjdoris/julia-downgrade-compat-action@v1
with:
skip: Pkg,TOML
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1

0 comments on commit 3c95a1b

Please sign in to comment.