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

Update to ruff, update workflow versions #1853

Merged
merged 90 commits into from
Mar 23, 2024
Merged
Show file tree
Hide file tree
Changes from 89 commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
ad6af6e
Delete .github/workflows/run_flake8.yml
mavaylon1 Feb 22, 2024
c03c1f9
Create ruff.yml
mavaylon1 Feb 22, 2024
bd381cc
Update check_sphinx_links.yml
mavaylon1 Feb 22, 2024
92c200b
Update codespell.yml
mavaylon1 Feb 22, 2024
f8980da
Update deploy_release.yml
mavaylon1 Feb 22, 2024
586a808
Update generate_test_files.yml
mavaylon1 Feb 22, 2024
688eb77
Update run_all_tests.yml
mavaylon1 Feb 22, 2024
2204be8
Update run_all_tests.yml
mavaylon1 Feb 22, 2024
7ccde59
Update run_coverage.yml
mavaylon1 Feb 22, 2024
0357321
Update run_dandi_read_tests.yml
mavaylon1 Feb 22, 2024
176d08d
Update run_inspector_tests.yml
mavaylon1 Feb 22, 2024
e526c54
Update run_tests.yml
mavaylon1 Feb 22, 2024
de5e45b
Update ruff.yml
mavaylon1 Mar 3, 2024
320403a
Create pyproject.toml
mavaylon1 Mar 3, 2024
88e2a9b
Update install_developers.rst
mavaylon1 Mar 3, 2024
82cfb2a
Update release.md
mavaylon1 Mar 3, 2024
b6709ec
Update MANIFEST.in
mavaylon1 Mar 3, 2024
098d5eb
Delete Makefile
mavaylon1 Mar 3, 2024
4eb34db
Update README.rst
mavaylon1 Mar 3, 2024
1361b7b
Update CONTRIBUTING.rst
mavaylon1 Mar 3, 2024
d9e3d91
Update conf.py
mavaylon1 Mar 3, 2024
735a71c
Update requirements-dev.txt
mavaylon1 Mar 3, 2024
bce6ef2
Update requirements-min.txt
mavaylon1 Mar 3, 2024
418017d
Update requirements.txt
mavaylon1 Mar 3, 2024
867f794
Delete versioneer.py
mavaylon1 Mar 3, 2024
336252b
Delete setup.cfg
mavaylon1 Mar 3, 2024
e4b3cbe
Delete setup.py
mavaylon1 Mar 3, 2024
5fabcca
Delete test.py
mavaylon1 Mar 3, 2024
632d047
Delete .codecov.yml
mavaylon1 Mar 3, 2024
313ff22
Delete .codespellrc
mavaylon1 Mar 3, 2024
de2c164
Delete .coveragerc
mavaylon1 Mar 3, 2024
72d3a5d
Create .codecov.yml
mavaylon1 Mar 3, 2024
c5b3714
Update tox.ini
mavaylon1 Mar 3, 2024
08c269c
Update tox.ini
mavaylon1 Mar 3, 2024
6c2140d
Update release.md
mavaylon1 Mar 6, 2024
9f502ed
Update MANIFEST.in
mavaylon1 Mar 6, 2024
579b1a4
Update install_developers.rst
mavaylon1 Mar 6, 2024
f716919
test
mavaylon1 Mar 6, 2024
ceffaca
Update tox.ini
mavaylon1 Mar 6, 2024
f3fa38b
tox
mavaylon1 Mar 6, 2024
ebb74ec
Update __init__.py
mavaylon1 Mar 6, 2024
0584d6c
Update run_all_tests.yml
mavaylon1 Mar 6, 2024
d7ec5f3
Update run_tests.yml
mavaylon1 Mar 6, 2024
2b1bdbc
Update run_tests.yml
mavaylon1 Mar 6, 2024
d882ebb
schema 2.6
mavaylon1 Mar 7, 2024
7ed8a90
Update pyproject.toml
mavaylon1 Mar 7, 2024
e9e458f
Update tox.ini
mavaylon1 Mar 7, 2024
094bd26
Update test.py
mavaylon1 Mar 7, 2024
a285664
Update test.py
mavaylon1 Mar 7, 2024
822e290
Update tox.ini
mavaylon1 Mar 8, 2024
d3c6227
Update test.py
mavaylon1 Mar 8, 2024
a5908a6
Update tox.ini
mavaylon1 Mar 8, 2024
de9b0c3
Update tox.ini
mavaylon1 Mar 8, 2024
b81a656
Update test.py
mavaylon1 Mar 8, 2024
c23186d
Update tox.ini
mavaylon1 Mar 8, 2024
bfadb98
Update environment-ros3.yml
mavaylon1 Mar 8, 2024
4ee3ba5
Update environment-ros3.yml
mavaylon1 Mar 8, 2024
97c76f9
Update environment-ros3.yml
mavaylon1 Mar 8, 2024
aaf3405
Update ruff.yml
mavaylon1 Mar 9, 2024
8a62ae1
Update pyproject.toml
mavaylon1 Mar 11, 2024
ac154b8
Update icephys.py
mavaylon1 Mar 11, 2024
bed6716
Update extensions.py
mavaylon1 Mar 11, 2024
f150914
Update pyproject.toml
mavaylon1 Mar 11, 2024
b552ef6
Update extensions.py
mavaylon1 Mar 11, 2024
def25a1
Update pyproject.toml
mavaylon1 Mar 11, 2024
9650124
Update pyproject.toml
mavaylon1 Mar 11, 2024
c202778
Update CONTRIBUTING.rst
mavaylon1 Mar 11, 2024
3a44f70
Update install_developers.rst
mavaylon1 Mar 11, 2024
591b4af
Update images.py
mavaylon1 Mar 11, 2024
0fd5095
Update extensions.py
mavaylon1 Mar 11, 2024
8d50edd
Update pyproject.toml
mavaylon1 Mar 11, 2024
cf5708c
Update run_coverage.yml
mavaylon1 Mar 11, 2024
273abb7
Delete src/pynwb/_version.py
mavaylon1 Mar 11, 2024
50513c3
Update CHANGELOG.md
mavaylon1 Mar 12, 2024
4531702
Update pyproject.toml
mavaylon1 Mar 12, 2024
52ba0d0
Update deploy_release.yml
mavaylon1 Mar 12, 2024
d6e5ba3
Update check_sphinx_links.yml
mavaylon1 Mar 12, 2024
0eb1d9b
Update run_dandi_read_tests.yml
mavaylon1 Mar 12, 2024
49b51ba
Update run_inspector_tests.yml
mavaylon1 Mar 12, 2024
1c851f0
Update deploy_release.yml
mavaylon1 Mar 12, 2024
bf0aa76
Update run_all_tests.yml
mavaylon1 Mar 12, 2024
059a125
Update tox.ini
mavaylon1 Mar 12, 2024
14b778f
Update tox.ini
mavaylon1 Mar 12, 2024
decb8b2
Update run_all_tests.yml
mavaylon1 Mar 12, 2024
f0ee13d
Update run_coverage.yml
mavaylon1 Mar 12, 2024
64f5d8d
Update CONTRIBUTING.rst
mavaylon1 Mar 12, 2024
c5f487b
Update CONTRIBUTING.rst
mavaylon1 Mar 13, 2024
a1cf1b4
Update CONTRIBUTING.rst
mavaylon1 Mar 14, 2024
9cd8b2a
Update pyproject.toml
mavaylon1 Mar 14, 2024
ad5ed23
Merge branch 'dev' into workflow-updates
rly Mar 23, 2024
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
8 changes: 0 additions & 8 deletions .codespellrc

This file was deleted.

13 changes: 0 additions & 13 deletions .coveragerc

This file was deleted.

4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ Prepare for release of PyNWB [version]

### Before merging:
- [ ] Major and minor releases: Update package versions in `requirements.txt`, `requirements-dev.txt`,
`requirements-doc.txt`, `requirements-min.txt`, `environment-ros3.yml`, and `setup.py` as needed.
`requirements-doc.txt`, `requirements-min.txt`, and `environment-ros3.yml` as needed.
- [ ] Check legal file dates and information in `Legal.txt`, `license.txt`, `README.rst`, `docs/source/conf.py`,
and any other locations as needed
- [ ] Update `setup.py` as needed
- [ ] Update `pyproject.toml` as needed
- [ ] Update `README.rst` as needed
- [ ] Update `src/pynwb/nwb-schema` submodule as needed. Check the version number and commit SHA manually
- [ ] Update changelog (set release date) in `CHANGELOG.md` and any other docs as needed
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/check_sphinx_links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:
all_but_latest: true
access_token: ${{ github.token }}

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0 # tags are required for versioneer to determine the version

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.12'

- name: Install Sphinx dependencies and package
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Codespell
uses: codespell-project/actions-codespell@v2
10 changes: 5 additions & 5 deletions .github/workflows/deploy_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo with submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0 # tags are required for versioneer to determine the version

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.12'

- name: Install build dependencies
run: |
Expand All @@ -28,11 +28,11 @@ jobs:

- name: Run tox tests
run: |
tox -e py311-upgraded
tox -e py312-upgraded

- name: Build wheel and source distribution
run: |
tox -e build-py311-upgraded
tox -e build-py312-upgraded
ls -1 dist

- name: Test installation from a wheel
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate_test_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
- { name: pynwb-1.5.1, pynwb-version: "1.5.1", python-version: "3.8"}
- { name: pynwb-2.1.0, pynwb-version: "2.1.0", python-version: "3.9"}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0 # tags are required for versioneer to determine the version

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Ruff
on: pull_request

jobs:
ruff:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Run ruff
uses: chartboost/ruff-action@v1
68 changes: 34 additions & 34 deletions .github/workflows/run_all_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,37 +26,37 @@ jobs:
- { name: linux-python3.9 , test-tox-env: py39 , build-tox-env: build-py39 , python-ver: "3.9" , os: ubuntu-latest }
- { name: linux-python3.10 , test-tox-env: py310 , build-tox-env: build-py310 , python-ver: "3.10", os: ubuntu-latest }
- { name: linux-python3.11 , test-tox-env: py311 , build-tox-env: build-py311 , python-ver: "3.11", os: ubuntu-latest }
- { name: linux-python3.11-optional , test-tox-env: py311-optional , build-tox-env: build-py311-optional , python-ver: "3.11", os: ubuntu-latest }
- { name: linux-python3.11-upgraded , test-tox-env: py311-upgraded , build-tox-env: build-py311-upgraded , python-ver: "3.11", os: ubuntu-latest }
- { name: linux-python3.11-prerelease , test-tox-env: py311-prerelease, build-tox-env: build-py311-prerelease, python-ver: "3.11", os: ubuntu-latest }
- { name: linux-python3.12 , test-tox-env: py312 , build-tox-env: build-py312 , python-ver: "3.12", os: ubuntu-latest }
- { name: linux-python3.12-upgraded , test-tox-env: py312-upgraded , build-tox-env: build-py312-upgraded , python-ver: "3.12", os: ubuntu-latest }
- { name: linux-python3.12-prerelease , test-tox-env: py312-prerelease, build-tox-env: build-py312-prerelease, python-ver: "3.12", os: ubuntu-latest }
- { name: windows-python3.8-minimum , test-tox-env: py38-minimum , build-tox-env: build-py38-minimum , python-ver: "3.8" , os: windows-latest }
- { name: windows-python3.9 , test-tox-env: py39 , build-tox-env: build-py39 , python-ver: "3.9" , os: windows-latest }
- { name: windows-python3.10 , test-tox-env: py310 , build-tox-env: build-py310 , python-ver: "3.10", os: windows-latest }
- { name: windows-python3.11 , test-tox-env: py311 , build-tox-env: build-py311 , python-ver: "3.11", os: windows-latest }
- { name: windows-python3.11-optional , test-tox-env: py311-optional , build-tox-env: build-py311-optional , python-ver: "3.11", os: windows-latest }
- { name: windows-python3.11-upgraded , test-tox-env: py311-upgraded , build-tox-env: build-py311-upgraded , python-ver: "3.11", os: windows-latest }
- { name: windows-python3.11-prerelease, test-tox-env: py311-prerelease, build-tox-env: build-py311-prerelease, python-ver: "3.11", os: windows-latest }
- { name: windows-python3.12 , test-tox-env: py312 , build-tox-env: build-py312 , python-ver: "3.12", os: windows-latest }
- { name: windows-python3.12-upgraded , test-tox-env: py312-upgraded , build-tox-env: build-py312-upgraded , python-ver: "3.12", os: windows-latest }
- { name: windows-python3.12-prerelease, test-tox-env: py312-prerelease, build-tox-env: build-py312-prerelease, python-ver: "3.11", os: windows-latest }
- { name: macos-python3.8-minimum , test-tox-env: py38-minimum , build-tox-env: build-py38-minimum , python-ver: "3.8" , os: macos-latest }
- { name: macos-python3.9 , test-tox-env: py39 , build-tox-env: build-py39 , python-ver: "3.9" , os: macos-latest }
- { name: macos-python3.10 , test-tox-env: py310 , build-tox-env: build-py310 , python-ver: "3.10", os: macos-latest }
- { name: macos-python3.11 , test-tox-env: py311 , build-tox-env: build-py311 , python-ver: "3.11", os: macos-latest }
- { name: macos-python3.11-optional , test-tox-env: py311-optional , build-tox-env: build-py311-optional , python-ver: "3.11", os: macos-latest }
- { name: macos-python3.11-upgraded , test-tox-env: py311-upgraded , build-tox-env: build-py311-upgraded , python-ver: "3.11", os: macos-latest }
- { name: macos-python3.11-prerelease , test-tox-env: py311-prerelease, build-tox-env: build-py311-prerelease, python-ver: "3.11", os: macos-latest }
- { name: macos-python3.12 , test-tox-env: py312 , build-tox-env: build-py312 , python-ver: "3.12", os: macos-latest }
- { name: macos-python3.12-upgraded , test-tox-env: py312-upgraded , build-tox-env: build-py312-upgraded , python-ver: "3.12", os: macos-latest }
- { name: macos-python3.12-prerelease , test-tox-env: py312-prerelease, build-tox-env: build-py312-prerelease, python-ver: "3.12", os: macos-latest }
steps:
- name: Cancel non-latest runs
uses: styfle/[email protected]
with:
all_but_latest: true
access_token: ${{ github.token }}

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0 # tags are required for versioneer to determine the version

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-ver }}

Expand Down Expand Up @@ -90,28 +90,28 @@ jobs:
matrix:
include:
- { name: linux-gallery-python3.8-minimum , test-tox-env: gallery-py38-minimum , python-ver: "3.8" , os: ubuntu-latest }
- { name: linux-gallery-python3.11-upgraded , test-tox-env: gallery-py311-upgraded , python-ver: "3.11", os: ubuntu-latest }
- { name: linux-gallery-python3.11-prerelease , test-tox-env: gallery-py311-prerelease, python-ver: "3.11", os: ubuntu-latest }
- { name: linux-gallery-python3.12-upgraded , test-tox-env: gallery-py312-upgraded , python-ver: "3.12", os: ubuntu-latest }
- { name: linux-gallery-python3.12-prerelease , test-tox-env: gallery-py312-prerelease, python-ver: "3.12", os: ubuntu-latest }
- { name: windows-gallery-python3.8-minimum , test-tox-env: gallery-py38-minimum , python-ver: "3.8" , os: windows-latest }
- { name: windows-gallery-python3.11-upgraded , test-tox-env: gallery-py311-upgraded , python-ver: "3.11", os: windows-latest }
- { name: windows-gallery-python3.11-prerelease, test-tox-env: gallery-py311-prerelease, python-ver: "3.11", os: windows-latest }
- { name: windows-gallery-python3.12-upgraded , test-tox-env: gallery-py312-upgraded , python-ver: "3.12", os: windows-latest }
- { name: windows-gallery-python3.12-prerelease, test-tox-env: gallery-py312-prerelease, python-ver: "3.12", os: windows-latest }
- { name: macos-gallery-python3.8-minimum , test-tox-env: gallery-py38-minimum , python-ver: "3.8" , os: macos-latest }
- { name: macos-gallery-python3.11-upgraded , test-tox-env: gallery-py311-upgraded , python-ver: "3.11", os: macos-latest }
- { name: macos-gallery-python3.11-prerelease , test-tox-env: gallery-py311-prerelease, python-ver: "3.11", os: macos-latest }
- { name: macos-gallery-python3.12-upgraded , test-tox-env: gallery-py312-upgraded , python-ver: "3.12", os: macos-latest }
- { name: macos-gallery-python3.12-prerelease , test-tox-env: gallery-py312-prerelease, python-ver: "3.12", os: macos-latest }
steps:
- name: Cancel non-latest runs
uses: styfle/[email protected]
with:
all_but_latest: true
access_token: ${{ github.token }}

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0 # tags are required for versioneer to determine the version

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-ver }}

Expand Down Expand Up @@ -139,23 +139,23 @@ jobs:
- { name: conda-linux-python3.9 , test-tox-env: py39 , build-tox-env: build-py39 , python-ver: "3.9" , os: ubuntu-latest }
- { name: conda-linux-python3.10 , test-tox-env: py310 , build-tox-env: build-py310 , python-ver: "3.10", os: ubuntu-latest }
- { name: conda-linux-python3.11 , test-tox-env: py311 , build-tox-env: build-py311 , python-ver: "3.11", os: ubuntu-latest }
- { name: conda-linux-python3.11-optional , test-tox-env: py311-optional , build-tox-env: build-py311-optional , python-ver: "3.11", os: ubuntu-latest }
- { name: conda-linux-python3.11-upgraded , test-tox-env: py311-upgraded , build-tox-env: build-py311-upgraded , python-ver: "3.11", os: ubuntu-latest }
- { name: conda-linux-python3.11-prerelease, test-tox-env: py311-prerelease, build-tox-env: build-py311-prerelease, python-ver: "3.11", os: ubuntu-latest }
- { name: conda-linux-python3.12 , test-tox-env: py312 , build-tox-env: build-py312 , python-ver: "3.12", os: ubuntu-latest }
- { name: conda-linux-python3.12-upgraded , test-tox-env: py312-upgraded , build-tox-env: build-py312-upgraded , python-ver: "3.12", os: ubuntu-latest }
- { name: conda-linux-python3.12-prerelease, test-tox-env: py312-prerelease, build-tox-env: build-py312-prerelease, python-ver: "3.12", os: ubuntu-latest }
steps:
- name: Cancel non-latest runs
uses: styfle/[email protected]
with:
all_but_latest: true
access_token: ${{ github.token }}

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0 # tags are required for versioneer to determine the version

- name: Set up Conda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: ${{ matrix.python-ver }}
Expand Down Expand Up @@ -196,23 +196,23 @@ jobs:
fail-fast: false
matrix:
include:
- { name: conda-linux-python3.11-ros3 , python-ver: "3.11", os: ubuntu-latest }
- { name: conda-windows-python3.11-ros3, python-ver: "3.11", os: windows-latest }
- { name: conda-macos-python3.11-ros3 , python-ver: "3.11", os: macos-latest }
- { name: conda-linux-python3.12-ros3 , python-ver: "3.12", os: ubuntu-latest }
- { name: conda-windows-python3.12-ros3, python-ver: "3.12", os: windows-latest }
- { name: conda-macos-python3.12-ros3 , python-ver: "3.12", os: macos-latest }
steps:
- name: Cancel non-latest runs
uses: styfle/[email protected]
with:
all_but_latest: true
access_token: ${{ github.token }}

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0 # tags are required for versioneer to determine the version

- name: Set up Conda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
activate-environment: ros3
Expand Down Expand Up @@ -243,23 +243,23 @@ jobs:
fail-fast: false
matrix:
include:
- { name: conda-linux-gallery-python3.11-ros3 , python-ver: "3.11", os: ubuntu-latest }
- { name: conda-windows-gallery-python3.11-ros3, python-ver: "3.11", os: windows-latest }
- { name: conda-macos-gallery-python3.11-ros3 , python-ver: "3.11", os: macos-latest }
- { name: conda-linux-gallery-python3.12-ros3 , python-ver: "3.12", os: ubuntu-latest }
- { name: conda-windows-gallery-python3.12-ros3, python-ver: "3.12", os: windows-latest }
- { name: conda-macos-gallery-python3.12-ros3 , python-ver: "3.12", os: macos-latest }
steps:
- name: Cancel non-latest runs
uses: styfle/[email protected]
with:
all_but_latest: true
access_token: ${{ github.token }}

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0 # tags are required for versioneer to determine the version

- name: Set up Conda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
activate-environment: ros3
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/run_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,21 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
env:
OS: ${{ matrix.os }}
PYTHON: '3.11'
PYTHON: '3.12'
steps:
- name: Cancel non-latest runs
uses: styfle/[email protected]
with:
all_but_latest: true
access_token: ${{ github.token }}

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0 # tags are required for versioneer to determine the version

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON }}

Expand All @@ -63,11 +63,13 @@ jobs:
python -m coverage report -m

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
flags: unit
files: coverage.xml
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Run integration tests and generate coverage report
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/run_dandi_read_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
all_but_latest: true
access_token: ${{ github.token }}

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0 # tags are required for versioneer to determine the version

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.12'

- name: Install run dependencies
run: |
Expand Down
31 changes: 0 additions & 31 deletions .github/workflows/run_flake8.yml

This file was deleted.

Loading
Loading