Skip to content

Commit

Permalink
back to v3 to test
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentame committed Oct 27, 2024
1 parent a40df12 commit c841d8c
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,32 +88,25 @@ jobs:
- name: Upload coverage data
if: always() && matrix.session == 'tests'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
# uses: actions/upload-artifact@v4
with:
name: coverage-data-${{ matrix.os }}-${{ matrix.python-version }}
name: coverage-data
# name: coverage-data-${{ matrix.os }}-${{ matrix.python-version }}
path: ".coverage.*"
include-hidden-files: true
if-no-files-found: error
# include-hidden-files: true
# if-no-files-found: error

- name: Upload documentation
if: matrix.session == 'docs-build'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: docs
path: docs/_build
merge:
runs-on: ubuntu-latest
needs: tests
steps:
- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: coverage-data
pattern: coverage-data-*

coverage:
runs-on: ubuntu-latest
needs: merge
needs: tests
steps:
- name: Check out the repository
uses: actions/[email protected]
Expand All @@ -138,10 +131,20 @@ jobs:
pip install --constraint=.github/workflows/constraints.txt nox nox-poetry
nox --version
# - name: Merge coverage data
# uses: actions/upload-artifact/merge@v4
# with:
# name: coverage-data
# pattern: coverage-data-*

- name: Download coverage data
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
# uses: actions/download-artifact@v4
with:
name: coverage-data
# path: coverage-data
# pattern: coverage-data-*
# merge-multiple: true

- run: ls -R coverage-data

Expand Down

0 comments on commit c841d8c

Please sign in to comment.