Skip to content

Commit

Permalink
autodetect on codecov uploader seems to work
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-sudz committed Mar 24, 2022
1 parent 29b6a8e commit 3b12057
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,19 +131,10 @@ jobs:
mkdir -p /home/runner/.ivy2/cache/ # some scripts assume that this folder exists
${{ matrix.script }}
- name : "Aggregate codecov reports"
run: |
# copy all jacoco files into shared dir
# let codecov handle the merging process
mkdir -p /tmp/jacoco/
for FILE in `find ./ | grep jacoco.xml`; do cp $FILE /tmp/jacoco/$RANDOM-$RANDOM.xml; done;
ls /tmp/jacoco/
- uses: codecov/codecov-action@v2
# for some external tests like scald.rb repl we are not able to easily collect coverage info
if: ${{ matrix.TEST_TARGET != null && matrix.TEST_TARGET != '' }}
with:
name: codecov
fail_ci_if_error: true
verbose: true
directory: /tmp/jacoco/

0 comments on commit 3b12057

Please sign in to comment.