-
Notifications
You must be signed in to change notification settings - Fork 988
42 lines (39 loc) · 966 Bytes
/
main.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
name: Main Workflow
on:
push:
branches:
- develop2
- release/*
- '*'
pull_request:
branches:
- '*'
- 'release/*'
workflow_dispatch:
jobs:
linux_suite:
uses: ./.github/workflows/linux-tests.yml
name: Linux test suite
osx_suite:
uses: ./.github/workflows/osx-tests.yml
name: OSX test suite
windows_suite:
uses: ./.github/workflows/win-tests.yml
name: Windows test suite
code_coverage:
runs-on: ubuntu-latest
needs: [linux_suite, osx_suite, windows_suite]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Download coverage artifacts
uses: actions/download-artifact@v4
with:
merge-multiple: true
- name: Merge coverage reports
run: |
pip install coverage
coverage combine
coverage report
coverage xml -o merged-coverage.xml
coverage html -d coverage-html