-
Notifications
You must be signed in to change notification settings - Fork 12
52 lines (45 loc) · 1.18 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
name: Code Coverage
on:
push:
branches:
- '**'
paths:
- "**/workflows/coverage.yml"
- "**/cmake/**"
- "**/JUCE/**"
- "**/modules/**"
- "**/tests/**"
- ".gitmodules"
- "CMakeLists.txt"
- "MANIFEST.in"
- "pyproject.toml"
- "setup.py"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
code-coverage:
name: Code Coverage
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup and install python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Build wheels and test
uses: pypa/cibuildwheel@v2.19.1
env:
CIBW_ARCHS: x86_64
CIBW_BUILD: cp311-manylinux_x86_64
CIBW_TEST_SKIP: "*manylinux*"
CIBW_ENVIRONMENT: POPSICLE_COVERAGE=1
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
path-to-lcov: ./wheelhouse/lcov.info
github-token: ${{ secrets.GITHUB_TOKEN }}
#debug: true