Skip to content

Commit

Permalink
Merge pull request #353 from ionut-arm/cov-fix2
Browse files Browse the repository at this point in the history
Run the Codecov script outside container
  • Loading branch information
ionut-arm authored Mar 2, 2021
2 parents fc05263 + 060e7d7 commit 6c33db5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,6 @@ jobs:
- name: Build the container
run: docker build -t all-providers e2e_tests/provider_cfg/all
- name: Run the container to execute the test script
run: docker run -v $(pwd):/tmp/parsec -w /tmp/parsec --security-opt seccomp=unconfined -e CI=true all-providers /tmp/parsec/ci.sh coverage
run: docker run -v $(pwd):/tmp/parsec -w /tmp/parsec --security-opt seccomp=unconfined all-providers /tmp/parsec/ci.sh coverage
- name: Collect coverage results
run: bash <(curl -s https://codecov.io/bash)
3 changes: 0 additions & 3 deletions ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,6 @@ if [ "$PROVIDER_NAME" = "coverage" ]; then
mkdir -p reports/unit
cargo tarpaulin --tests --out Xml --features="all-providers,all-authenticators" --exclude-files="$EXCLUDES" --output-dir $(pwd)/reports/unit

# Run the Codecov result gathering script
bash <(curl -s https://codecov.io/bash)

exit 0
fi

Expand Down

0 comments on commit 6c33db5

Please sign in to comment.