Skip to content

Commit

Permalink
Update run-tests-on-change.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorijn committed Apr 12, 2023
1 parent 97c1e66 commit 1fe436b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/run-tests-on-change.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,25 @@ jobs:
cache-from: type=registry,ref=jorijn/bitcoin-dca:latest

- name: Extract the test logging artifacts from the container that was built
if: success() || failure()
run: |
docker run --rm --entrypoint= -v ${GITHUB_WORKSPACE}:/app/ jorijn/bitcoin-dca:ci sh -c "cp /tmp/tests_*.xml /app/"
sed -i "s/\/app\//\/github\/workspace\//g" tests_coverage.xml tests_log.xml
- name: Upload logging artifacts
uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: test_coverage_and_logging
path: |
tests_coverage.xml
tests_log.xml
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: success() || failure()
with:
report_paths: 'tests_*.xml'

sonarcloud:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 1fe436b

Please sign in to comment.