summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2023-02-26 00:01:08 -0500
committerGitHub <noreply@github.com>2023-02-26 00:01:08 -0500
commit870c29e6e09c5430b2b71e53c72ff9329cb92d9b (patch)
tree7e8475fab4122d8b0cfc7652f981a77917e707cb /.github
parentcabc5942793c9417a626b581a66f1a0e3c9cf7f4 (diff)
ci: add coverage actions for macOS and windows (#1030)
* ci: add coverage actions for macOS and windows * specify target as name * use flags
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml2
-rw-r--r--.github/workflows/coverage.yml10
2 files changed, 10 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e1da142e..556d387d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -60,8 +60,8 @@ jobs:
# Note that m1 macOS is tested via CirrusCI.
supported:
needs: pre-job
- runs-on: ${{ matrix.info.os }}
if: ${{ needs.pre-job.outputs.should_skip != 'true' }}
+ runs-on: ${{ matrix.info.os }}
timeout-minutes: 18
strategy:
fail-fast: false
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index 5210dc02..471be514 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -34,8 +34,15 @@ jobs:
coverage:
needs: pre-job
if: ${{ needs.pre-job.outputs.should_skip != 'true' }}
+ runs-on: ${{ matrix.info.os }}
timeout-minutes: 18
- runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ info:
+ - { os: "ubuntu-latest" }
+ - { os: "macos-12" }
+ - { os: "windows-2019" }
steps:
- name: Checkout repository
uses: actions/checkout@v3
@@ -64,3 +71,4 @@ jobs:
files: lcov.info
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
+ flags: ${{ matrix.info.os }}