Bump codecov/codecov-action from 5 to 6 #428
Workflow file for this run
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: | |
| pull_request: | |
| branches: | |
| - master | |
| paths-ignore: | |
| - 'docs/**' | |
| push: | |
| branches: | |
| - master | |
| paths-ignore: | |
| - 'docs/**' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch || github.ref != 'refs/tags/v*' }} | |
| jobs: | |
| tests: | |
| name: "Tests - ${{ matrix.group }} - Julia ${{ matrix.version }}" | |
| permissions: | |
| actions: write | |
| contents: read | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| version: | |
| - "1" | |
| - "lts" | |
| - "pre" | |
| group: | |
| - "Core" | |
| - "RaggedArrays" | |
| - "ArrayPartitionAnyAll" | |
| - "ShorthandConstructors" | |
| - "Downstream" | |
| - "nopre" | |
| exclude: | |
| - version: "pre" | |
| group: "nopre" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: julia-actions/setup-julia@v2 | |
| with: | |
| version: "${{ matrix.version }}" | |
| - uses: julia-actions/cache@v1 | |
| with: | |
| token: "${{ secrets.GITHUB_TOKEN }}" | |
| - uses: julia-actions/julia-buildpkg@v1 | |
| - uses: julia-actions/julia-runtest@v1 | |
| env: | |
| GROUP: "${{ matrix.group }}" | |
| # Run tests with 2 threads so that threaded regression tests (e.g. the | |
| # @.. thread=true VectorOfArray{SArray} test for issue #570) actually | |
| # exercise FastBroadcast's Polyester-backed multi-thread batch-split | |
| # path. With the default single thread, that path is a no-op and the | |
| # regression is not covered. Mirrors SciML/OrdinaryDiffEq.jl's | |
| # SublibraryCI.yml which passes JULIA_NUM_THREADS on the runtest step. | |
| JULIA_NUM_THREADS: "2" | |
| - uses: julia-actions/julia-processcoverage@v1 | |
| with: | |
| directories: "src,ext" | |
| - uses: codecov/codecov-action@v6 | |
| if: "${{ github.event.pull_request.head.repo.full_name == github.repository }}" | |
| with: | |
| files: lcov.info | |
| token: "${{ secrets.CODECOV_TOKEN }}" | |
| fail_ci_if_error: true |