CompatHelper: bump compat for CUDA in [extras] to 6, (keep existing compat) #921
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: Tests | |
| on: | |
| push: | |
| branches: | |
| - 'master' | |
| - 'main' | |
| - 'release-' | |
| tags: '*' | |
| paths-ignore: | |
| - 'docs/**' | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review, converted_to_draft] | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| # Cancel intermediate builds: only if it is a pull request build. | |
| cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | |
| jobs: | |
| setup-matrix: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| matrix: ${{ steps.mk.outputs.matrix }} | |
| steps: | |
| - id: mk | |
| shell: bash | |
| run: | | |
| # Draft PR: only run ubuntu-latest + version=1 (all groups) | |
| if [[ "${{ github.event_name }}" == "pull_request" && "${{ github.event.pull_request.draft }}" == "true" ]]; then | |
| cat >> "$GITHUB_OUTPUT" <<'EOF' | |
| matrix={"version":["1"],"os":["ubuntu-latest"],"group":["states","operators","algorithms","multifusion","misc"]} | |
| EOF | |
| else | |
| cat >> "$GITHUB_OUTPUT" <<'EOF' | |
| matrix={"version":["lts","1"],"os":["ubuntu-latest","windows-latest","macOS-latest"],"group":["states","operators","algorithms","multifusion","misc"]} | |
| EOF | |
| fi | |
| tests: | |
| name: "Tests" | |
| needs: setup-matrix | |
| strategy: | |
| fail-fast: false | |
| matrix: ${{ fromJSON(needs.setup-matrix.outputs.matrix) }} | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: julia-actions/setup-julia@v2 | |
| with: | |
| version: ${{ matrix.version }} | |
| - uses: julia-actions/cache@v3 | |
| - uses: julia-actions/julia-buildpkg@v1 | |
| - uses: julia-actions/julia-runtest@v1 | |
| timeout-minutes: 120 | |
| with: | |
| test_args: '--jobs=1 ${{ matrix.group }}' | |
| - uses: julia-actions/julia-processcoverage@v1 | |
| with: | |
| directories: 'src,ext' | |
| - uses: codecov/codecov-action@v6 | |
| with: | |
| files: lcov.info | |
| token: "${{ secrets.CODECOV_TOKEN }}" | |
| fail_ci_if_error: true |