Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! fixup! fixup! fixup! build: use Ninja in action workflows
add coverage-linux
  • Loading branch information
targos committed Feb 24, 2021
commit 1005055603899284c2bab262c64051700ef479c6
5 changes: 4 additions & 1 deletion .github/workflows/coverage-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
env:
PYTHON_VERSION: 3.9
FLAKY_TESTS: dontcare
CONFIG_FLAGS: --error-on-warn --coverage --ninja

jobs:
coverage-linux:
Expand All @@ -30,12 +31,14 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install Ninja
run: sudo apt-get install ninja-build
- name: Environment Information
run: npx envinfo
- name: Install gcovr
run: pip install gcovr==4.2
- name: Build
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn --coverage"
run: make build-ci -j2 V=1
# TODO(bcoe): fix the couple tests that fail with the inspector enabled.
# The cause is most likely coverage's use of the inspector.
- name: Test
Expand Down