Add diagham_command to only create the command string and add option wait to run
#12
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: Compat Check | |
| on: | |
| push: | |
| branches: | |
| - 'master' | |
| - 'main' | |
| - 'release-' | |
| tags: '*' | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: Compat bounds check - ${{ matrix.julia-version }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| downgrade_mode: ['deps'] | |
| # TODO: this should be ['1.10', '1'] but that is currently broken: | |
| # https://github.com/julia-actions/julia-downgrade-compat/issues/25 | |
| julia-version: ['1.10', '1.12'] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: julia-actions/setup-julia@v2 | |
| with: | |
| version: ${{ matrix.julia-version }} | |
| - uses: julia-actions/julia-downgrade-compat@v2 | |
| with: | |
| mode: ${{ matrix.downgrade_mode }} | |
| skip: Random, LinearAlgebra, Test, Combinatorics | |
| julia_version: ${{ matrix.julia-version }} | |
| - uses: julia-actions/julia-buildpkg@v1 | |
| - uses: julia-actions/julia-runtest@v1 |