-
-
Notifications
You must be signed in to change notification settings - Fork 36
35 lines (35 loc) · 853 Bytes
/
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
name: CI
on:
pull_request:
branches:
- master
push:
branches:
- master
tags: '*'
jobs:
test:
name: Julia ${{ matrix.version }}
runs-on: ubuntu-latest
env:
JULIA_PKG_SERVER: ""
JULIA_NUM_THREADS: "4"
strategy:
fail-fast: false
matrix:
version:
- '1.6'
- '1' # Leave this line unchanged. '1' will automatically expand to the latest stable 1.x release of Julia.
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: x64
- uses: julia-actions/cache@v1
- name: Run headless test
uses: GabrielBB/xvfb-action@v1
with:
run: |
julia --project=@. -e "using Pkg; Pkg.test(coverage=true)"