1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-11-19 22:40:28 +01:00
Groups.jl/.github/workflows/ci.yml

49 lines
1.3 KiB
YAML
Raw Normal View History

2020-04-20 00:04:09 +02:00
name: CI
on:
2022-10-14 02:31:20 +02:00
- pull_request
- push
2020-04-20 00:04:09 +02:00
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
version:
2022-04-02 15:52:24 +02:00
- '1.6'
2021-06-21 19:17:30 +02:00
- '1'
2020-04-20 00:04:09 +02:00
- 'nightly'
os:
- ubuntu-latest
- macOS-latest
- windows-latest
arch:
- x64
2022-10-14 02:31:20 +02:00
allow_failures:
- julia: nightly
2020-04-20 00:04:09 +02:00
fail-fast: false
steps:
2022-10-14 02:31:20 +02:00
- uses: actions/checkout@v3
2020-04-20 00:04:09 +02:00
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
2022-10-14 02:31:20 +02:00
- uses: actions/cache@v3
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-04-20 00:04:09 +02:00
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
2020-04-20 00:19:39 +02:00
- uses: julia-actions/julia-processcoverage@v1
2022-10-14 02:31:20 +02:00
- uses: codecov/codecov-action@v2
2020-04-20 00:19:39 +02:00
with:
file: ./lcov.info
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false