1
0
Fork 0
mirror of https://github.com/MillironX/XAM.jl.git synced 2024-11-15 06:43:10 +00:00
XAM.jl/.github/workflows/UnitTests.yml

45 lines
1.2 KiB
YAML
Raw Permalink Normal View History

name: Unit Tests
2020-01-17 05:38:16 +00:00
on:
- push
- pull_request
2020-01-17 05:38:16 +00:00
jobs:
test:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
2020-01-17 05:38:16 +00:00
strategy:
fail-fast: false
2020-01-17 05:38:16 +00:00
matrix:
julia-version:
- '1.3' # The Indexes package uses the Artifacts framework, which is first available in Julia v1.3.
- '1'
julia-arch: [x64, x86]
2020-01-17 05:38:16 +00:00
os: [ubuntu-latest, windows-latest, macOS-latest]
experimental: [false]
include:
- julia-version: nightly
julia-arch: x64
os: ubuntu-latest
experimental: true
2020-01-17 05:38:16 +00:00
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Setup Julia
uses: julia-actions/setup-julia@v1
2020-01-17 05:38:16 +00:00
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 }}