Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Update actions/upload-artifact and actions/download-artifact from 3 to 4 #1062

Merged
merged 5 commits into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/base_test_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:

- name: Download test data
if: ${{ inputs.test_data }}
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: test_data
path: test_data
Expand Down Expand Up @@ -100,9 +100,9 @@ jobs:
retention-days: 7

- name: Upload coverage data
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ inputs.coverage }}
with:
name: coverage reports
name: cov-reports-${{ inputs.os }}-py-${{ inputs.python_version }}-${{ inputs.napari }}-${{ inputs.qt_backend }}
path: |
./.coverage.*
4 changes: 2 additions & 2 deletions .github/workflows/test_napari_repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- shell: bash
run: bash build_utils/download_data.sh
- name: Upload test data
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test_data
path: test_data
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
pip install setuptools tox tox-gh-actions

- name: Download test data
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: test_data
path: test_data
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_prereleases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- shell: bash
run: bash build_utils/download_data.sh
- name: Upload test data
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test_data
path: test_data
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
- uses: tlambert03/setup-qt-libs@v1

- name: Download test data
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: test_data
path: test_data
Expand Down Expand Up @@ -115,14 +115,14 @@ jobs:
pip-sync
pip install .
- name: upload requirements
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: requirements
path: requirements.txt
- name: Run PyInstaller
run: python build_utils/create_and_pack_executable.py
- name: Upload bundle
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bundle
path: dist2/
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- shell: bash
run: bash build_utils/download_data.sh
- name: Upload test data
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test_data
path: test_data
Expand Down Expand Up @@ -133,10 +133,11 @@ jobs:
pip install codecov

- name: Download coverage data
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: coverage reports
pattern: cov-reports-*
path: coverage
merge-multiple: true
- name: combine coverage data
run: |
python -Im coverage combine coverage
Expand All @@ -152,7 +153,7 @@ jobs:
retention-days: 5

- name: Upload coverage data
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
Expand All @@ -176,7 +177,7 @@ jobs:
- uses: tlambert03/setup-qt-libs@v1

- name: Download test data
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: test_data
path: test_data
Expand Down
Loading