Skip to content

Commit

Permalink
Update dependencies, add testing extras (#837)
Browse files Browse the repository at this point in the history
* update setup and CI setups

* switch to using testing instead of profiling for pytests

* update dependencies

* [pre-commit.ci] auto fixes from pre-commit hooks

---------

Co-authored-by: Vladimir <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Sep 5, 2023
1 parent dea24dc commit 26c4461
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ stages:

generator:
stage: generate
image: python:3.7-alpine
image: python:3.8-alpine
tags:
- docker
before_script:
Expand Down
1 change: 0 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ pandas
pyyaml
seaborn
setuptools_scm[toml]>=5
six
sphinx>=3.2.1
sphinx_contributors
sphinx_github_changelog
Expand Down
8 changes: 7 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ install_requires =
pydigitalwavetools==1.1
pyyaml
qkeras
six
tabulate
tensorflow
python_requires = >=3.8
include_package_data = True
scripts = scripts/hls4ml
Expand All @@ -46,6 +46,12 @@ profiling =
seaborn
sr =
sympy
testing =
pytest
pytest-cov
pytest-randomly
qonnx
torch

[check-manifest]
ignore =
Expand Down
2 changes: 1 addition & 1 deletion test/pytest/ci-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- source ~/.bashrc
- if [ $EXAMPLEMODEL == 1 ]; then git submodule init; git submodule update; fi
- conda activate hls4ml-testing
- pip install .[profiling,sr]
- pip install .[testing,sr]
script:
- cd test/pytest
- pytest $PYTESTFILE -rA --cov-report xml --cov-report term --cov=hls4ml --junitxml=report.xml --randomly-seed=42 --randomly-dont-reorganize --randomly-dont-reset-seed
Expand Down

0 comments on commit 26c4461

Please sign in to comment.