Skip to content

Commit

Permalink
WIP: Run tests on main
Browse files Browse the repository at this point in the history
  • Loading branch information
CBroz1 committed May 21, 2024
1 parent a46b1a5 commit c3436e8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/test-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
miniforge-version: latest
- name: Install spyglass
run: |
pip install -e .[test]
pip install -e .[test,dlc]
- name: Download data
env:
UCSF_BOX_TOKEN: ${{ secrets.UCSF_BOX_TOKEN }}
Expand All @@ -51,9 +51,6 @@ jobs:
RAW_DIR: /home/runner/work/spyglass/spyglass/tests/_data/raw/
VIDEO_DIR: /home/runner/work/spyglass/spyglass/tests/_data/video/
DLC_DIR: /home/runner/work/spyglass/spyglass/tests/_data/deeplabcut/
QT_QPA_PLATFORM: offscreen # QT fails on CBroz's machine otherwise
TF_ENABLE_ONEDNN_OPTS: 0 # TF disable approx calcs
TF_CPP_MIN_LOG_LEVEL: 2 # Disable TF warnings
run: |
mkdir -p $RAW_DIR $VIDEO_DIR $DLC_DIR
wget --recursive --no-verbose --no-host-directories --no-directories \
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-package-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- main
- maint/*
- '!test_branch'
- '!documentation'
Expand All @@ -12,6 +13,7 @@ on:
pull_request:
branches:
- master
- main
- maint/*
defaults:
run:
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -148,19 +148,19 @@ omit = [ # which submodules have no tests
"*/__init__.py",
"*/_version.py",
"*/cli/*",
"*/common/*", # UNDO
# "*/common/*",
"*/data_import/*",
"*/decoding/*",
"*/figurl_views/*",
"*/lfp/*", # UNDO
"*/linearization/*", # UNDO
# "*/lfp/*",
# "*/linearization/*",
"*/lock/*",
"*/mua/*",
# "*/position/*", # UNDO
# "*/position/*",
"*/ripple/*",
"*/sharing/*",
"*/spikesorting/*",
"*/utils/*", # UNDO
# "*/utils/*",
"settings.py",
]

Expand Down

0 comments on commit c3436e8

Please sign in to comment.