-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Context This PR migrates the unit test pipeline from GitLab to GitHub actions. Based on the existing `simulation_test.yml`, it adds the model building for `neocortex` and `neocortex-mutiscale` models, and launch the unit tests via `pytest`. For testing data, sub circuits of `v5_sonata`, `v5_sonata + gap junctions`, `sscx-v7-plasticity` are extracted by `brainbuilder` from the original circuits in `gpfs` and are stored locally. ## Scope - [x] Download neocortex mods from github repo - [x] test-unit - [x] test-integration - [x] test-integration-e2e - [x] test-scientific - [x] test-scientific-ngv Doc builds are tested on ReadTheDocs side for all PRs. ## Testing Currently the follow tests are skipped: ## Review * [x] PR description is complete * [x] Coding style (imports, function length, New functions, classes or files) are good * [x] Unit/Scientific test added * [x] Updated Readme, in-code, developer documentation --------- Co-authored-by: Jorge Blanco Alonso <jorge.blancoalonso@epfl.ch>
- Loading branch information
1 parent
73f2648
commit 629b989
Showing
105 changed files
with
257,229 additions
and
1,362 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Lint Check | ||
|
||
on: [pull_request, push, workflow_dispatch] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
|
||
- name: Install flake8 | ||
run: pip install flake8-pyproject | ||
|
||
- name: Run flake8 | ||
run: flake8 neurodamus 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
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
Oops, something went wrong.