-
-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (55 loc) · 1.22 KB
/
CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: CI
on:
pull_request:
branches:
- "master"
push:
branches:
- "master"
tags:
- "*"
defaults:
run:
shell: bash
env:
JULIA_NUM_THREADS: auto
jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 120
strategy:
fail-fast: false
matrix:
os:
- windows-latest
- ubuntu-latest
- macos-latest
julia-version:
- "1.6"
- "1"
- "nightly"
include:
- os: ubuntu-latest
julia-prefix: xvfb-run
exclude:
- os: macos-latest
julia-version: "1.6"
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: julia-actions/setup-julia@v2
with:
show-versioninfo: true
version: ${{ matrix.julia-version }}
- uses: julia-actions/julia-buildpkg@v1
with:
ignore-no-cache: true
localregistry: https://github.com/0h7z/0hjl.git
- uses: julia-actions/julia-runtest@v1
with:
prefix: ${{ matrix.julia-prefix }}
- uses: heptazhou/julia-codecov@v1
- uses: codecov/[email protected]
with:
file: lcov.info