Bump codecov/codecov-action from 1 to 3 #248
Workflow file for this run
This file contains 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: | |
pull_request: | |
push: | |
branches: | |
- master | |
tags: '*' | |
concurrency: | |
# Skip intermediate builds: always. | |
# Cancel intermediate builds: always. | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
timeout-minutes: 15 | |
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - provider ${{ matrix.provider }} - ${{ matrix.threads }} thread(s) | |
runs-on: ${{ matrix.os }} | |
env: | |
JULIA_NUM_THREADS: ${{ matrix.threads }} | |
strategy: | |
fail-fast: false | |
matrix: | |
provider: | |
- 'fftw' | |
- 'mkl' | |
version: | |
- '1.6' | |
- 'nightly' | |
os: | |
- ubuntu-latest | |
- macOS-latest | |
- windows-latest | |
threads: | |
- '1' | |
- '2' | |
arch: | |
- x64 | |
- x86 | |
exclude: | |
# 32-bit Julia binaries are not available on macOS | |
- os: macOS-latest | |
arch: x86 | |
# 32-bit Linux binary for MKL isn't always available, let's ignore it | |
- os: ubuntu-latest | |
provider: 'mkl' | |
arch: x86 | |
- provider: 'mkl' | |
threads: '2' | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: julia-actions/setup-julia@v1 | |
with: | |
version: ${{ matrix.version }} | |
arch: ${{ matrix.arch }} | |
- uses: julia-actions/cache@v1 | |
# In MKL 2024, Intel dropped support for macOS. | |
# So, in CI, for the macOS jobs, we force MKL 2023 to be installed (instead of | |
# MKL 2024). | |
- run: julia .ci/macos_mkl_2023.jl | |
if: (matrix.os == 'macOS-latest') && (matrix.provider == 'mkl') | |
- name: Set Preferences | |
run: julia --project .github/set_ci_preferences.jl "${{ matrix.provider }}" | |
- uses: julia-actions/julia-runtest@v1 | |
- uses: julia-actions/julia-processcoverage@v1 | |
- uses: codecov/codecov-action@v3 | |
with: | |
file: lcov.info | |
Documentation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: julia-actions/setup-julia@latest | |
with: | |
version: 1 | |
- uses: julia-actions/cache@v1 | |
- uses: julia-actions/julia-buildpkg@v1 | |
- uses: julia-actions/julia-docdeploy@releases/v1 | |
env: | |
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} |