Merge branch 'master' into develop #35
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 | |
# needed to allow julia-actions/cache to delete old caches that it has created | |
permissions: | |
actions: write | |
contents: read | |
jobs: | |
test: | |
name: Julia ${{ matrix.julia-version }} - ${{ matrix.os }} - ${{ matrix.julia-arch }} - ${{ github.event_name }} | |
runs-on: ${{ matrix.os }} | |
continue-on-error: ${{ matrix.experimental }} | |
strategy: | |
fail-fast: false | |
matrix: | |
julia-version: | |
- '1.6' # LTS | |
- '1' | |
julia-arch: [x64, x86] | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
exclude: | |
- os: macOS-latest | |
julia-arch: x86 | |
experimental: [false] | |
include: | |
- julia-version: nightly | |
julia-arch: x64 | |
os: ubuntu-latest | |
experimental: true | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Setup Julia | |
uses: julia-actions/setup-julia@v1 | |
with: | |
version: ${{ matrix.julia-version }} | |
arch: ${{ matrix.julia-arch }} | |
- uses: julia-actions/cache@v1 | |
- uses: julia-actions/julia-buildpkg@v1 | |
- name: Run Tests | |
uses: julia-actions/julia-runtest@v1 | |
with: | |
annotate: true | |
- name: Create CodeCov | |
uses: julia-actions/julia-processcoverage@v1 | |
- name: Upload CodeCov | |
uses: codecov/codecov-action@v4 | |
with: | |
files: lcov.info | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: false |