diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2023-02-26 00:01:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-26 00:01:08 -0500 |
commit | 870c29e6e09c5430b2b71e53c72ff9329cb92d9b (patch) | |
tree | 7e8475fab4122d8b0cfc7652f981a77917e707cb /.github/workflows/coverage.yml | |
parent | cabc5942793c9417a626b581a66f1a0e3c9cf7f4 (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/workflows/coverage.yml')
-rw-r--r-- | .github/workflows/coverage.yml | 10 |
1 files changed, 9 insertions, 1 deletions
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 }} |