mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-22 20:23:12 +00:00
ci: add coverage actions for macOS and windows (#1030)
* ci: add coverage actions for macOS and windows * specify target as name * use flags
This commit is contained in:
parent
cabc594279
commit
870c29e6e0
2 changed files with 10 additions and 2 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
10
.github/workflows/coverage.yml
vendored
10
.github/workflows/coverage.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue