From 870c29e6e09c5430b2b71e53c72ff9329cb92d9b Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Sun, 26 Feb 2023 00:01:08 -0500 Subject: ci: add coverage actions for macOS and windows (#1030) * ci: add coverage actions for macOS and windows * specify target as name * use flags --- .github/workflows/coverage.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to '.github/workflows/coverage.yml') 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 }} -- cgit v1.2.3