Skip to content

Commit

Permalink
final coverage form
Browse files Browse the repository at this point in the history
  • Loading branch information
pevogam committed Jun 12, 2024
1 parent bb93086 commit 3af0c0d
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,26 +63,25 @@ jobs:
- run: sleep 3
- name: Create some fake binaries to make vt-bootstrap happy
run: |
mkdir -p /tmp/dummy_bin
touch /tmp/dummy_bin/arping
touch /tmp/dummy_bin/tcpdump
chmod 777 /tmp/dummy_bin/*
echo "/tmp/dummy_bin" >> $GITHUB_PATH
mkdir -p /tmp/dummy_bin
touch /tmp/dummy_bin/arping
touch /tmp/dummy_bin/tcpdump
chmod 777 /tmp/dummy_bin/*
echo "/tmp/dummy_bin" >> $GITHUB_PATH
- name: Bootstrapping Avocado VT
run: avocado vt-bootstrap --vt-skip-verify-download-assets --yes-to-all
- name: Isolation tests using parallel avocado runner
# if later on we decide that unit tests are still more appropriate here just do
run: make check
#run: |
# PYTHONPATH=:. coverage run -m avocado run --max-parallel-tasks=4 selftests/isolation/test_*
# coverage combine
# coverage report
#- name: Collect all coverage
# run: coverage report -m
#- name: Upload coverage to Codecov
# uses: codecov/codecov-action@v3
# with:
# verbose: true
#run: make check
run: PYTHONPATH=:. coverage run -m avocado run --max-parallel-tasks=4 selftests/isolation/test_*
- name: Collect all coverage
run: |
coverage combine
coverage report -m
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
verbose: true
- name: Cleaning up avocado(-vt) libs
run: |
rm -rf avocado-vt-libs
Expand Down

0 comments on commit 3af0c0d

Please sign in to comment.