-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update deprecated actions and fix missing setuptools dependency
- Loading branch information
1 parent
099444a
commit 14d2f34
Showing
2 changed files
with
13 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,10 +17,10 @@ jobs: | |
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.x" | ||
|
||
|
@@ -55,10 +55,10 @@ jobs: | |
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
|
||
|
@@ -72,9 +72,9 @@ jobs: | |
tox -e begin,py | ||
- name: Upload coverage | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: coverage | ||
name: coverage-${{ matrix.os }}-${{ matrix.python }} | ||
path: .coverage.* | ||
retention-days: 1 | ||
|
||
|
@@ -91,17 +91,17 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.x" | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install tox | ||
python -m pip install tox coverage setuptools | ||
# Ensure version.py is created so coverage can read it's source | ||
- name: Run begin | ||
|
@@ -111,7 +111,8 @@ jobs: | |
- name: Download coverage artifacts | ||
uses: actions/[email protected] | ||
with: | ||
name: coverage | ||
pattern: coverage-* | ||
merge-multiple: true | ||
|
||
# Tox runs `coverage combine` and `coverage xml` | ||
- name: Combine coverage and report | ||
|