summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 9c42e638..b0e8cc38 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -78,19 +78,19 @@ jobs:
- name: Lint with pylint
run: ./check.sh
- name: Test with pytest
- run: pytest --cov=opendc/ --junitxml=.junit-report.xml
+ run: pytest --cov --cov-report=xml --junitxml=junit-report.xml
- name: Publish report
if: always()
uses: mikepenz/action-junit-report@v2
with:
check_name: test (Python ${{ matrix.python }})
- report_paths: '**/.junit-report.xml'
+ report_paths: '**/junit-report.xml'
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload code coverage
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
- files: opendc-web/opendc-web-api/.coverage
+ files: opendc-web/opendc-web-api/coverage.xml
flags: api
build-ui:
name: Build UI (Node ${{ matrix.node }})