Skip to content

Commit

Permalink
[QMI-121] Adding extra dependencies section for unit-tests and trying…
Browse files Browse the repository at this point in the history
… to install these packages using that.
  • Loading branch information
heevasti committed Nov 7, 2024
1 parent e015796 commit e9d4ecf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/scheduled-full-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Run unit tests and generate report
if: always()
run: |
python -m pip install .
pip install '.[unittest]'
python -m pip install unittest-xml-reporting
python -m xmlrunner --output-file testresults.xml discover --start-directory=tests --pattern="test_*.py"
Expand Down
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ dev = [
# version bump
"bump2version"
]
unittest = [
# unit-test dependencies re-introduced
"numpy",
"h5py>=3.7.0",
"pyserial",
"pyusb",
"python-vxi11"
]

[project.scripts]
# main scripts
Expand Down

0 comments on commit e9d4ecf

Please sign in to comment.