1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-12-28 11:05:28 +01:00
PropertyT.jl/.github/workflows/ci.yml

46 lines
1.2 KiB
YAML
Raw Normal View History

2020-10-17 14:12:47 +02:00
name: CI
on:
2022-11-07 18:48:26 +01:00
- pull_request
2020-10-17 14:12:47 +02:00
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
version:
2022-11-07 18:48:26 +01:00
- '1.6'
- '1'
2020-10-17 14:12:47 +02:00
- 'nightly'
os:
- ubuntu-latest
arch:
- x64
2022-11-07 18:48:26 +01:00
allow_failures:
- julia: nightly
2020-10-17 14:12:47 +02:00
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
2022-11-07 18:48:26 +01:00
- uses: actions/cache@v1
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
2020-10-17 14:12:47 +02:00
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
with:
file: ./lcov.info
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false