mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-11-14 14:15:28 +01:00
46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
name: CI
|
|
on:
|
|
- pull_request
|
|
jobs:
|
|
test:
|
|
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
version:
|
|
- '1.6'
|
|
- '1'
|
|
- 'nightly'
|
|
os:
|
|
- ubuntu-latest
|
|
arch:
|
|
- x64
|
|
allow_failures:
|
|
- julia: nightly
|
|
fail-fast: false
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: julia-actions/setup-julia@v1
|
|
with:
|
|
version: ${{ matrix.version }}
|
|
arch: ${{ matrix.arch }}
|
|
- 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 }}-
|
|
- 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
|