Update Project.toml #1708
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: | |
| push: | |
| branches: [main, master] | |
| tags: ["*"] | |
| pull_request: | |
| release: | |
| # Cancel superseded in-progress runs for the same PR. Pushes to master/release | |
| # use the unique run_id as the group, so those are never cancelled. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} | |
| runs-on: ${{ matrix.os }} | |
| # Fail fast on a hung job instead of running to GitHub's 6h default. Clean | |
| # jobs finish in <=11m; 25m leaves headroom for cache-cold precompilation. | |
| timeout-minutes: 25 | |
| # Prerelease Julia is informational; don't let it block merges. | |
| continue-on-error: ${{ matrix.version == 'pre' }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| version: | |
| - '1' | |
| - 'pre' | |
| os: | |
| - ubuntu-latest | |
| - windows-latest | |
| arch: | |
| - x64 | |
| include: | |
| - os: macOS-latest | |
| arch: aarch64 | |
| version: 1 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: julia-actions/setup-julia@v2 | |
| with: | |
| version: ${{ matrix.version }} | |
| arch: ${{ matrix.arch }} | |
| - uses: julia-actions/cache@v2 | |
| - uses: julia-actions/julia-buildpkg@v1 | |
| - uses: julia-actions/julia-runtest@v1 | |
| - uses: julia-actions/julia-processcoverage@v1 | |
| - uses: codecov/codecov-action@v5 | |
| with: | |
| files: lcov.info | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| docs: | |
| name: Documentation | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: julia-actions/julia-buildpkg@latest | |
| - uses: julia-actions/julia-docdeploy@latest | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} |