mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-23 05:34:57 +02: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
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -60,8 +60,8 @@ jobs:
|
|||||||
# Note that m1 macOS is tested via CirrusCI.
|
# Note that m1 macOS is tested via CirrusCI.
|
||||||
supported:
|
supported:
|
||||||
needs: pre-job
|
needs: pre-job
|
||||||
runs-on: ${{ matrix.info.os }}
|
|
||||||
if: ${{ needs.pre-job.outputs.should_skip != 'true' }}
|
if: ${{ needs.pre-job.outputs.should_skip != 'true' }}
|
||||||
|
runs-on: ${{ matrix.info.os }}
|
||||||
timeout-minutes: 18
|
timeout-minutes: 18
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
10
.github/workflows/coverage.yml
vendored
10
.github/workflows/coverage.yml
vendored
@ -34,8 +34,15 @@ jobs:
|
|||||||
coverage:
|
coverage:
|
||||||
needs: pre-job
|
needs: pre-job
|
||||||
if: ${{ needs.pre-job.outputs.should_skip != 'true' }}
|
if: ${{ needs.pre-job.outputs.should_skip != 'true' }}
|
||||||
|
runs-on: ${{ matrix.info.os }}
|
||||||
timeout-minutes: 18
|
timeout-minutes: 18
|
||||||
runs-on: ubuntu-latest
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
info:
|
||||||
|
- { os: "ubuntu-latest" }
|
||||||
|
- { os: "macos-12" }
|
||||||
|
- { os: "windows-2019" }
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -64,3 +71,4 @@ jobs:
|
|||||||
files: lcov.info
|
files: lcov.info
|
||||||
fail_ci_if_error: true
|
fail_ci_if_error: true
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
flags: ${{ matrix.info.os }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user