Skip to content

Commit c8ec05b

Browse files
authored
Merge pull request #1964 from dudanogueira/ci-archive-coverage-fix
fix github actions: archived coverage artifact download issue
2 parents a0b5924 + a238e97 commit c8ec05b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ jobs:
143143
if: ${{ !github.event.pull_request.head.repo.fork }}
144144
run: pytest -v --cov --cov-report=term-missing --cov=weaviate --cov-report xml:coverage-integration-embedded.xml integration_embedded
145145
- name: Archive code coverage results
146-
if: matrix.version == '3.10' && (github.ref_name != 'main')
146+
if: matrix.version == '3.10' && (github.ref_name != 'main') && !github.event.pull_request.head.repo.fork
147147
uses: actions/upload-artifact@v4
148148
with:
149149
name: coverage-report-integration-embedded
@@ -242,7 +242,7 @@ jobs:
242242
Codecov:
243243
needs: [Unit-Tests, Integration-Tests]
244244
runs-on: ubuntu-latest
245-
if: github.ref_name != 'main'
245+
if: github.ref_name != 'main' && !github.event.pull_request.head.repo.fork
246246
steps:
247247
- uses: actions/checkout@v4
248248
- name: Download coverage artifacts mock

0 commit comments

Comments
 (0)