Make Enzyme a conditional test dependency loaded only for nopre group #58
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: Downgrade Sublibraries | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| paths-ignore: | |
| - 'docs/**' | |
| push: | |
| branches: | |
| - master | |
| paths-ignore: | |
| - 'docs/**' | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| downgrade_mode: ['alldeps'] | |
| julia-version: ['1.11'] | |
| project: | |
| - 'lib/BracketingNonlinearSolve' | |
| - 'lib/NonlinearSolveBase' | |
| - 'lib/NonlinearSolveFirstOrder' | |
| - 'lib/NonlinearSolveHomotopyContinuation' | |
| - 'lib/NonlinearSolveQuasiNewton' | |
| - 'lib/NonlinearSolveSciPy' | |
| - 'lib/NonlinearSolveSpectralMethods' | |
| - 'lib/SCCNonlinearSolve' | |
| - 'lib/SciMLJacobianOperators' | |
| - 'lib/SimpleNonlinearSolve' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: julia-actions/setup-julia@v2 | |
| with: | |
| version: ${{ matrix.julia-version }} | |
| - uses: julia-actions/julia-downgrade-compat@v2 | |
| with: | |
| project: ${{ matrix.project }} | |
| skip: Pkg,TOML | |
| - uses: julia-actions/julia-buildpkg@v1 | |
| with: | |
| project: ${{ matrix.project }} | |
| - uses: julia-actions/julia-runtest@v1 | |
| with: | |
| project: ${{ matrix.project }} | |
| ALLOW_RERESOLVE: false |