-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (31 loc) · 851 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
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
strategy:
matrix:
julia-version: ["1.6", "1"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Julia environment
uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
- name: Use Julia cache
uses: julia-actions/cache@v1
- name: Run Pkg.build
uses: julia-actions/julia-buildpkg@v1
- name: Run Julia package tests
uses: julia-actions/julia-runtest@v1
- name: Compute test coverage
uses: julia-actions/julia-processcoverage@v1
- name: Report coverage
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}