Skip to content

Commit

Permalink
fixup! [OU-ADD] enable coverage/codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
hbrunn committed Nov 30, 2024
1 parent 7d709f2 commit dbb1211
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
# Silence redundant logs from unlinking records (1 line is enough)
# to prevent log overflow
coverage run \
--source=$GITHUB_WORKSPACE/openupgrade/openupgrade_scripts \
--source=$GITHUB_WORKSPACE/openupgrade/openupgrade_scripts/scripts \
$ODOO \
--addons-path=`echo $ADDONS_PATHS | awk -v OFS="," '$1=$1'` \
--database=$DB \
Expand All @@ -151,11 +151,8 @@ jobs:
--without-demo=$MODULES_NEW \
--update=$MODULES_NEW
- name: Generate coverage.xml
run: |
coverage xml
cat coverage.xml
- uses: codecov/codecov-action@v3
run: coverage xml
- uses: codecov/codecov-action@v4
with:
files: coverage.xml
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit dbb1211

Please sign in to comment.