From 52fae72b119fc052bad24ad942ad110bcfa2e6bd Mon Sep 17 00:00:00 2001 From: Dylan Anthony Date: Thu, 14 Dec 2023 18:01:58 -0700 Subject: [PATCH 1/2] chore: Update to new GHA artifacts process --- .github/workflows/checks.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index f263628b9..d783cc8f3 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -67,7 +67,7 @@ jobs: run: poetry run coverage xml -o coverage-${{ matrix.os }}-${{ matrix.python }}.xml - name: Store coverage report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.0.0 with: name: coverage-report path: coverage-${{ matrix.os }}-${{ matrix.python }}.xml @@ -78,12 +78,12 @@ jobs: steps: - uses: actions/checkout@v4.1.1 - name: Download coverage reports - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4.0.0 with: - name: coverage-report - - uses: codecov/codecov-action@v3 + path: coverage-report + - uses: codecov/codecov-action@v3.1.4 with: - files: "*.xml" + files: "coverage-report/**/*.xml" integration: name: Integration Tests From 123f5a437722a82680b6689816bf6a3c90138321 Mon Sep 17 00:00:00 2001 From: Dylan Anthony Date: Thu, 14 Dec 2023 18:04:51 -0700 Subject: [PATCH 2/2] ci: Unique artifact names per coverage report --- .github/workflows/checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index d783cc8f3..68b191792 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -69,7 +69,7 @@ jobs: - name: Store coverage report uses: actions/upload-artifact@v4.0.0 with: - name: coverage-report + name: coverage-${{ matrix.os }}-${{ matrix.python }} path: coverage-${{ matrix.os }}-${{ matrix.python }}.xml upload_coverage: