-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update workflows and requirements (#239)
Co-authored-by: Ryan Ly <[email protected]>
- Loading branch information
Showing
22 changed files
with
307 additions
and
397 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
version: 2 | ||
updates: | ||
# disable checking python requirements files because there are too | ||
# many updates and dependabot will not ignore requirements-min.txt | ||
# until https://github.com/dependabot/dependabot-core/issues/2883 is resolved | ||
# workaround is to continue updating these files manually | ||
|
||
# - package-ecosystem: "pip" | ||
# directory: "/" | ||
# schedule: | ||
# # Check for updates to requirements files and pyproject.toml every week | ||
# interval: "weekly" | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
# Check for updates to GitHub Actions every week | ||
interval: "weekly" |
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 |
---|---|---|
|
@@ -5,28 +5,23 @@ on: [pull_request, workflow_dispatch] | |
jobs: | ||
check_compatibility: | ||
runs-on: ubuntu-latest | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
steps: | ||
- name: Cancel non-latest runs | ||
uses: styfle/[email protected] | ||
with: | ||
all_but_latest: true | ||
access_token: ${{ github.token }} | ||
|
||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # tags are required for versioneer to determine the version | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python 3.13 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.13" | ||
|
||
- name: Install HDMF_Zarr Requirements | ||
run: | | ||
python -m pip install -r requirements-dev.txt -r requirements.txt | ||
pip install . | ||
python -m pip install ".[test]" | ||
- name: Clone HDMF Dev Branch | ||
- name: Clone and Install HDMF Dev Branch | ||
run: | | ||
git clone https://github.com/hdmf-dev/hdmf.git --recurse-submodules | ||
cd hdmf | ||
|
@@ -36,7 +31,6 @@ jobs: | |
- name: Run HDMF_Zarr Tests | ||
run: | ||
# specify the tests directory so that we don't run the hdmf tests which are nested | ||
# under the same base directory | ||
pytest -v tests | ||
|
||
|
||
|
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 |
---|---|---|
|
@@ -8,16 +8,12 @@ on: | |
jobs: | ||
check-external-links: | ||
runs-on: ubuntu-latest | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
steps: | ||
- name: Cancel non-latest runs | ||
uses: styfle/[email protected] | ||
with: | ||
all_but_latest: true | ||
access_token: ${{ github.token }} | ||
|
||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: 'recursive' | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
|
@@ -27,7 +23,7 @@ jobs: | |
- name: Install Sphinx dependencies and package | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install -r requirements-doc.txt -r requirements.txt -r requirements-opt.txt | ||
python -m pip install . | ||
python -m pip install ".[test,docs,full]" | ||
- name: Check Sphinx external links | ||
run: sphinx-build -b linkcheck ./docs/source ./test_build | ||
run: sphinx-build -W -b linkcheck ./docs/source ./test_build |
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
Oops, something went wrong.