Skip to content

Commit

Permalink
fix(ci): use absolute path for coverage artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
spool committed Nov 15, 2023
1 parent 94ed0d1 commit be61962
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ env:
COMPOSE_DOCKER_CLI_BUILD: 1
CONDA_ENV_NAME: clim-recal
MIN_PYTHON_VERSION: 3.9
COVERAGE_SVG_FOLDER: python/docs/assets/
PYTHON_MODULE_FOLDER: /home/jovyan/python/
COVERAGE_SVG_FOLDER: docs/assets/
COVERAGE_SVG_FILE_NAME: coverage.svg
# replace below with references to previous config lines
COVERAGE_SVG_PATH: python/docs/assets/coverage.svg
COVERAGE_SVG_PATH: docs/assets/coverage.svg

on:
pull_request:
Expand Down Expand Up @@ -69,7 +70,7 @@ jobs:
- name: Copy test coverage results
run: |
docker cp ${{ env.jupyter_id }}:${{ env.COVERAGE_SVG_PATH }} ${{ env.COVERAGE_SVG_FOLDER }}
docker cp ${{ env.jupyter_id }}:${{ env.PYTHON_MODULE_FOLDER }}${{ env.COVERAGE_SVG_PATH }} ${{ env.COVERAGE_SVG_FOLDER }}
- name: Archive coverage svg
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit be61962

Please sign in to comment.