-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* the change * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
7c6d356
commit fa68afc
Showing
97 changed files
with
616 additions
and
638 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 |
---|---|---|
|
@@ -8,13 +8,13 @@ inputs: | |
os: | ||
description: 'Operating system to set up' | ||
required: false | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Install dependencies | ||
run: | | ||
sudo apt install git | ||
sudo apt install git | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "CI Almighty" | ||
python -m venv ${{ github.workspace }}/test_env # Environment used in the caching step | ||
|
@@ -42,4 +42,4 @@ runs: | |
wget https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-amd64.tar.gz | ||
tar xvzf git-annex-standalone-amd64.tar.gz | ||
echo "$(pwd)/git-annex.linux" >> $GITHUB_PATH | ||
shell: bash | ||
shell: bash |
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
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
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
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 |
---|---|---|
|
@@ -27,19 +27,19 @@ jobs: | |
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "CI Almighty" | ||
python -m pip install -U pip # Official recommended way | ||
python -m pip install -U pip # Official recommended way | ||
pip install -e .[test_core] | ||
- name: Test core with pytest | ||
run: | | ||
pytest -vv -ra --durations=0 --durations-min=0.001 src/spikeinterface/core | tee report.txt; test ${PIPESTATUS[0]} -eq 0 || exit 1 | ||
shell: bash # Necessary for pipeline to work on windows | ||
- name: Build test summary | ||
run: | | ||
run: | | ||
pip install pandas | ||
pip install tabulate | ||
echo "# Timing profile of core tests in ${{matrix.os}}" >> $GITHUB_STEP_SUMMARY | ||
echo "# Timing profile of core tests in ${{matrix.os}}" >> $GITHUB_STEP_SUMMARY | ||
# Outputs markdown summary to standard output | ||
python ./.github/build_job_summary.py report.txt >> $GITHUB_STEP_SUMMARY | ||
cat $GITHUB_STEP_SUMMARY | ||
python ./.github/build_job_summary.py report.txt >> $GITHUB_STEP_SUMMARY | ||
cat $GITHUB_STEP_SUMMARY | ||
rm report.txt | ||
shell: bash # Necessary for pipeline to work on windows | ||
shell: bash # Necessary for pipeline to work on windows |
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
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 |
---|---|---|
|
@@ -27,24 +27,23 @@ jobs: | |
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "CI Almighty" | ||
python -m pip install -U pip # Official recommended way | ||
python -m pip install -U pip # Official recommended way | ||
pip install -e . # This should install core only | ||
- name: Profile Imports | ||
run: | | ||
echo "## OS: ${{ matrix.os }}" >> $GITHUB_STEP_SUMMARY | ||
echo "---" >> $GITHUB_STEP_SUMMARY | ||
echo "### Import times when only installing only core dependencies " >> $GITHUB_STEP_SUMMARY | ||
python ./.github/import_test.py >> $GITHUB_STEP_SUMMARY | ||
python ./.github/import_test.py >> $GITHUB_STEP_SUMMARY | ||
shell: bash # Necessary for pipeline to work on windows | ||
- name: Install in full mode | ||
run: | | ||
python -m pip install -U pip # Official recommended way | ||
python -m pip install -U pip # Official recommended way | ||
pip install -e .[full] | ||
- name: Profile Imports with full | ||
run: | | ||
# Add a header to separate the two profiles | ||
echo "---" >> $GITHUB_STEP_SUMMARY | ||
echo "### Import times when installing full dependencies in " >> $GITHUB_STEP_SUMMARY | ||
python ./.github/import_test.py >> $GITHUB_STEP_SUMMARY | ||
python ./.github/import_test.py >> $GITHUB_STEP_SUMMARY | ||
shell: bash # Necessary for pipeline to work on windows | ||
|
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 |
---|---|---|
|
@@ -187,4 +187,4 @@ examples/modules/toolkit/tmp_* | |
test_folder/ | ||
|
||
# Mac OS | ||
.DS_Store | ||
.DS_Store |
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
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 |
---|---|---|
|
@@ -13,7 +13,7 @@ Current core team | |
* `Alessio Paolo Buccino <https://github.com/alejoe91>`_ [1] | ||
* `Samuel Garcia <https://github.com/samuelgarcia>`_ [2] | ||
|
||
For any inquiries, please contact Alessio Buccino ([email protected]) or Samuel Garcia | ||
For any inquiries, please contact Alessio Buccino ([email protected]) or Samuel Garcia | ||
([email protected]), or just write an issue (preferred)! | ||
|
||
|
||
|
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
Oops, something went wrong.