Skip to content

Commit 1e66a39

Browse files
authored
ci - avoid overlapping artifact names from notebook tests (#7486)
Each CI job (including partitions) needs to use a unique artifact name otherwise the output is not saved. Also use common naming for the upload-artifacts step in ci-weekly. No change in the effective tests.
1 parent 89ebad8 commit 1e66a39

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/ci-weekly.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ jobs:
3333
run: pip install -r dev_tools/requirements/isolated-base.env.txt
3434
- name: Notebook tests
3535
run: check/pytest -n auto -m weekly dev_tools/notebooks/isolated_notebook_test.py -k ${{matrix.partition}}
36-
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
36+
- name: Persist the outputs
37+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
3738
if: failure()
3839
with:
3940
name: notebook-outputs

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ jobs:
378378
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
379379
if: failure()
380380
with:
381-
name: notebook-outputs
381+
name: notebook-outputs-${{ matrix.partition }}
382382
path: out
383383
notebooks-branch:
384384
if: github.repository_owner == 'quantumlib'

0 commit comments

Comments
 (0)