Skip to content

Commit

Permalink
set test requirements in pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Helveg committed Nov 7, 2023
1 parent e7089b7 commit 03e8a74
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ jobs:
# Install latest pip
pip install --upgrade pip
# Install bsb-core
pip install .
# Install plugins required to run the tests
pip install -r tests/required_plugins.txt
pip install .[test]
- name: Run tests & coverage
run: |
source "${NEST_INSTALL_PATH}/bin/nest_vars.sh"
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ config = "bsb._options:config"
profiling = "bsb._options:profiling"

[project.optional-dependencies]
test = [
"coverage~=7.3.0",
"bsb-hdf5==1.0.0b0",
"bsb-json==0.0.0b0"
]
dev = [
"sphinx~=7.0",
"furo",
Expand Down
1 change: 0 additions & 1 deletion tests/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
*
!.gitignore
!required_plugins.txt
!__init__.py
!test_*
!data
Expand Down

0 comments on commit 03e8a74

Please sign in to comment.