download coverage to backend dir

This commit is contained in:
burnettk 2022-11-12 23:04:29 -05:00
parent d62e78986d
commit 2896f97326
1 changed files with 5 additions and 2 deletions

View File

@ -255,14 +255,17 @@ jobs:
uses: actions/download-artifact@v3.0.1
with:
name: coverage-data
# this action doesn't seem to respect working-directory so include working-directory value in path
path: spiffworkflow-backend
- name: Combine coverage data and display human readable report
run: |
find . -name \*.pyc -delete
echo debug
pwd
# mv ../.coverage .
ls -altr
nox --force-color --session=coverage
nox --force-color --session=coverage || ls ../.coverage
- name: Create coverage report
run: |
@ -316,7 +319,7 @@ jobs:
fetch-depth: 0
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +%s)"
run: echo "date=$(date +%s)" >> $GITHUB_OUTPUT
- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with: