-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Doc] improve spike_train_generation.spike_extraction parameter docum…
…entation (#641) * add notes section and more details for interval parameter
- Loading branch information
1 parent
3d54e99
commit bb0a394
Showing
2 changed files
with
177 additions
and
273 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 |
---|---|---|
|
@@ -135,20 +135,14 @@ jobs: | |
matrix: | ||
# OS [ubuntu-latest, macos-latest, windows-latest] | ||
os: [macos-13,macos-14] | ||
python-version: [3.11] | ||
python-version: [3.12] | ||
steps: | ||
- name: Get current year-month | ||
id: date | ||
run: echo "date=$(date +'%Y-%m')" >> $GITHUB_OUTPUT | ||
|
||
- uses: actions/[email protected] | ||
|
||
- name: Cache conda | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/conda_pkgs_dir | ||
key: ${{ runner.os }}-conda-${{hashFiles('requirements/environment.yml') }}-${{ hashFiles('**/CI.yml') }}-${{ steps.date.outputs.date }} | ||
|
||
- name: Get current hash (SHA) of the elephant_data repo | ||
id: elephant-data | ||
run: | | ||
|
@@ -162,29 +156,17 @@ jobs: | |
key: datasets-${{ steps.elephant-data.outputs.dataset_hash }} | ||
restore-keys: datasets- | ||
|
||
- uses: conda-incubator/setup-miniconda@d2e6a045a86077fb6cad6f5adf368e9076ddaa8d # corresponds to v3.1.0 | ||
with: | ||
auto-update-conda: true | ||
python-version: ${{ matrix.python-version }} | ||
mamba-version: "*" | ||
channels: conda-forge | ||
channel-priority: true | ||
activate-environment: elephant | ||
environment-file: requirements/environment-tests.yml | ||
conda-remove-defaults: true | ||
|
||
- name: Install dependencies | ||
shell: bash -l {0} | ||
run: | | ||
python --version | ||
mamba install pytest pytest-cov coveralls | ||
pip install -e .[extras] | ||
pip install -e .[extras,tests] | ||
pip install pytest-cov coveralls | ||
- name: List packages | ||
shell: bash -l {0} | ||
run: | | ||
pip list | ||
mamba list | ||
python --version | ||
- name: Test with pytest | ||
|
Oops, something went wrong.