Skip to content

Commit

Permalink
fix(frontend): set the working directory for Codecov (#81)
Browse files Browse the repository at this point in the history
* chore(frontend): attempt to set the working directory for Codecov [2]

* chore(frontend): attempt to set the working directory for Codecov [3]

* chore(frontend): attempt to set the working directory for Codecov [4]

* chore(frontend): remove unnecessary verbosity for codecov action

* chore(frontend): use "./" to specify current folder for files

* chore(frontend): use "./" to specify current folder for files [2]

* chore(frontend): remove unnecessary steps

* chore(frontend): get the file searching step back
  • Loading branch information
Lodin authored Sep 1, 2021
1 parent b009a6b commit 009db19
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ jobs:
CI: true
- name: Collect Coverage
run: |
echo "${{ github.workspace }}/frontend"
COVFILES=$(find packages -wholename '*/.coverage/lcov.info' | tr '\n' ',' | sed '$s/,$//')
echo "COVFILES=$COVFILES" >> $GITHUB_ENV
- name: Send Coverage to Codecov
Expand All @@ -56,5 +55,4 @@ jobs:
files: ${{ env.COVFILES }}
flags: unittests
fail_ci_if_error: true
verbose: true
working-directory: ${{ github.workspace }}/frontend
root_dir: ${{ github.workspace }}/frontend

0 comments on commit 009db19

Please sign in to comment.