forked from scikit-hep/iminuit
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (37 loc) · 976 Bytes
/
coverage.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
name: Coverage
on:
pull_request:
paths-ignore:
- 'doc/**'
- '.ci/**'
- '*.rst'
push:
branches:
- main
- develop
- beta/*
paths-ignore:
- 'doc/**'
- '.ci/**'
- '*.rst'
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Install conda from miniforge
run: |
wget -O Miniforge3.sh "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3.sh -b -p "${HOME}/conda"
source "${HOME}/conda/etc/profile.d/conda.sh"
conda activate
- uses: actions/checkout@v4
with:
submodules: true
- uses: hendrikmuhs/ccache-action@v1.2
with:
key: ${{ github.job }}-${{ matrix.os }}-${{ matrix.python-version }}
create-symlink: true
- uses: rui314/setup-mold@v1
- run: pip install nox
- run: nox -s cov
- uses: AndreMiras/coveralls-python-action@develop