-
Notifications
You must be signed in to change notification settings - Fork 22
43 lines (43 loc) · 1.04 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
name: CI
on:
pull_request:
push:
branches:
- master
tags: '*'
jobs:
test:
name: Julia - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ matrix.threads }} threads - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
arch:
- x64
threads:
- '1'
- '2'
steps:
- uses: actions/checkout@v4
- uses: julia-actions/cache@v2
with:
cache-compiled: "true"
cache-registries: "true"
- uses: prefix-dev/setup-pixi@v0.8.0
with:
pixi-version: "latest"
- name: Prepare pixi
run: pixi run install-julia
- name: Test Wflow
run: |
pixi run test-wflow-cov
env:
JULIA_NUM_THREADS: ${{ matrix.threads }}
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v4
with:
files: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}