Skip to content

Commit

Permalink
workflow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
henricasanova committed Sep 12, 2024
1 parent cc21828 commit ee7d936
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,14 @@ jobs:
docker exec --workdir /home/wrench/examples wrench-daemon-container bash ./run_all_examples.sh
- name: Compute coverage
run: |
docker exec --workdir /home/wrench/ wrench-daemon-container sudo pip install coverage
COVERAGE_PERCENTAGE=$(docker exec --workdir /home/wrench/ wrench-daemon-container bash ./.compute_coverage.sh)
echo "COVERAGE_PERCENTAGE=$COVERAGE_PERCENTAGE"
# WITHOUT DOCKER
#pip install coverage
#bash ./.compute_coverage.sh
# END WITHOUT DOCKER
docker exec wrench-daemon-container sudo pip install coverage
docker exec --workdir /home/wrench/ wrench-daemon-container bash ./.compute_coverage.sh
#COVERAGE_PERCENTAGE=$(docker exec --workdir /home/wrench/ wrench-daemon-container bash ./.compute_coverage.sh)
#echo "COVERAGE_PERCENTAGE=$COVERAGE_PERCENTAGE"
- name: Kill wrench-daemon
run: |
# WITHOUT DOCKER
Expand Down

0 comments on commit ee7d936

Please sign in to comment.