Do not fail CI if codecov falls #713
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: Unit tests | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
continue-on-error: ${{ matrix.experimental }} | |
strategy: | |
fail-fast: false | |
matrix: | |
julia-version: | |
- '1.5' # Minimally supported version of Julia | |
- '1' | |
julia-arch: [x86] | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
experimental: [false] | |
include: | |
- julia-version: nightly | |
julia-arch: x86 | |
os: ubuntu-latest | |
experimental: true | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Setup Julia | |
uses: julia-actions/setup-julia@v1 | |
with: | |
version: ${{ matrix.julia-version }} | |
- name: Run Tests | |
uses: julia-actions/julia-runtest@latest | |
- name: Create CodeCov | |
uses: julia-actions/julia-processcoverage@v1 | |
- name: Upload CodeCov | |
uses: codecov/codecov-action@v1 | |
with: | |
file: ./lcov.info | |
flags: unittests | |
name: codecov-umbrella | |
fail_ci_if_error: false | |
token: ${{ secrets.CODECOV_TOKEN }} |