Skip to content
Myr

👷 Update GitHub Actions to upload and download artifacts (#829)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Sebastián Ramírez · committed by GitHub · parent 8c05c84 · Browse files · 4 files+20 added−19 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

4 files+20 added−19 removed

  • other:+20 added−19 removed

4 files+20 added−19 removed

modified:.github/workflows/build-docs.yml+1 added-1 removed
modified:.github/workflows/deploy-docs.yml+7 added-9 removed
modified:.github/workflows/smokeshow.yml+6 added-4 removed
modified:.github/workflows/test.yml+6 added-5 removed
48 unmodified lines
49 env:50 COVERAGE_FILE: coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }}51 CONTEXT: ${{ runner.os }}-py${{ matrix.python-version }}52 - name: Store coverage files53 uses: actions/upload-artifact@v353 uses: actions/upload-artifact@v454 with:55 name: coverage55 name: coverage-${{ matrix.python-version }}56 path: coverage5758 coverage-combine:59 needs: [test]
10 unmodified lines
70 # Issue ref: https://github.com/actions/setup-python/issues/43671 # cache: "pip"72 # cache-dependency-path: pyproject.toml73 - name: Get coverage files74 uses: actions/download-artifact@v374 uses: actions/download-artifact@v475 with:76 name: coverage76 pattern: coverage-*77 path: coverage78 merge-multiple: true79 - run: pip install coverage[toml]80 - run: ls -la coverage81 - run: coverage combine coverage82 - run: coverage report83 - run: coverage html --show-contexts --title "Coverage for ${{ github.sha }}"84 - name: Store coverage HTML84 uses: actions/upload-artifact@v385 uses: actions/upload-artifact@v486 with:87 name: coverage-html88 path: htmlcov89
15 unmodified lines