-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable nightly dandi read workflow for now (#1794)
- Loading branch information
Showing
3 changed files
with
25 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
name: Run DANDI read tests | ||
on: | ||
schedule: | ||
- cron: '0 6 * * *' # once per day at 1am ET | ||
# NOTE this is disabled until we can run this systematically instead of randomly | ||
# so we don't get constant error notifications and waste compute cycles | ||
# See https://github.com/NeurodataWithoutBorders/pynwb/issues/1804 | ||
# schedule: | ||
# - cron: '0 6 * * *' # once per day at 1am ET | ||
workflow_dispatch: | ||
|
||
jobs: | ||
run-tests: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
shell: bash -l {0} # necessary for conda | ||
steps: | ||
- name: Cancel non-latest runs | ||
uses: styfle/[email protected] | ||
|
@@ -22,19 +22,14 @@ jobs: | |
submodules: 'recursive' | ||
fetch-depth: 0 # tags are required for versioneer to determine the version | ||
|
||
- name: Set up Conda | ||
uses: conda-incubator/setup-miniconda@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
auto-update-conda: true | ||
activate-environment: ros3 | ||
environment-file: environment-ros3.yml | ||
python-version: "3.11" | ||
channels: conda-forge | ||
auto-activate-base: false | ||
python-version: '3.11' | ||
|
||
- name: Install run dependencies | ||
run: | | ||
python -m pip install dandi pytest | ||
python -m pip install dandi fsspec requests aiohttp pytest | ||
python -m pip uninstall -y pynwb # uninstall pynwb | ||
python -m pip install -e . | ||
python -m pip list | ||
|
@@ -47,4 +42,4 @@ jobs: | |
- name: Run DANDI read tests | ||
run: | | ||
python tests/read_dandi/test_read_dandi.py | ||
python tests/read_dandi/read_dandi.py |
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