Skip to content

Merged workflows and add coverage #8

Merged workflows and add coverage

Merged workflows and add coverage #8

Workflow file for this run

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