diff --git a/.github/workflows/extensive_test.yml b/.github/workflows/extensive_test.yml index e7b8f6b00..a6df4ba91 100644 --- a/.github/workflows/extensive_test.yml +++ b/.github/workflows/extensive_test.yml @@ -233,9 +233,13 @@ jobs: mpiexec -n 2 coverage run -m unittest discover -k "mpi" -s tests -v mpiexec -n 3 --oversubscribe coverage run -m unittest discover -k "mpi" -s tests -v + - name: ls to see if coverage files were produced + if: contains(matrix.test-type, 'unit') + run: ls + - name: Upload uncombined coverage to github if: contains(matrix.test-type, 'unit') - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: gh-actions-parallel-coverage path: .coverage.* @@ -276,7 +280,7 @@ jobs: coverage xml - name: Upload coverage to github - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: tox-gh-actions-coverage path: coverage.xml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index aa32be2e1..8c20240ac 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -200,6 +200,10 @@ jobs: mpiexec -n 2 coverage run -m unittest discover -k "mpi" -s tests -v mpiexec -n 3 --oversubscribe coverage run -m unittest discover -k "mpi" -s tests -v + - name: ls to see if coverage files were produced + if: contains(matrix.test-type, 'unit') + run: ls + - name: Combine coverage reports if: contains(matrix.test-type, 'unit') run: | @@ -209,7 +213,7 @@ jobs: - name: Upload coverage to github if: contains(matrix.test-type, 'unit') - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: tox-gh-actions-coverage path: coverage.xml diff --git a/.github/workflows/wheel.yml b/.github/workflows/wheel.yml index f2593af6c..92694dec6 100644 --- a/.github/workflows/wheel.yml +++ b/.github/workflows/wheel.yml @@ -28,7 +28,7 @@ jobs: CIBW_SKIP: cp27-* cp36-* cp37-* CIBW_DEPENDENCY_VERSIONS: latest - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: ./wheelhouse/*.whl @@ -56,7 +56,7 @@ jobs: - name: Build sdist run: python -m build -s -o dist . - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: dist/*.tar.gz