Skip to content

Commit

Permalink
Moved freezegun dependency back to test-requirements.txt, added test-…
Browse files Browse the repository at this point in the history
…requirements to github unittest action.

Signed-off-by: Bart Pleiter <[email protected]>
  • Loading branch information
bartpleiter committed Oct 30, 2023
1 parent 7d849cf commit 6860434
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
# Test
- name: Unit test with pytest
run: |
pip install pytest pytest-cov
pip install -r test-requirements.txt
pytest --cov-report=xml --cov=openstef/ test/ --junitxml=pytest-report.xml
# Fix relative paths in coverage file
# Known bug: https://community.sonarsource.com/t/sonar-on-github-actions-with-python-coverage-source-issue/36057
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# SPDX-FileCopyrightText: 2017-2023 Contributors to the OpenSTEF project <[email protected]> # noqa E501>
#
# SPDX-License-Identifier: MPL-2.0
freezegun~=1.2.2
holidays==0.21
lightgbm~=3.3
matplotlib~=3.7
Expand Down
1 change: 1 addition & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ autoflake==1.7.5
bandit==1.7.4
black==23.9.1
docformatter==1.5.0
freezegun~=1.2.2
isort==5.10.1
pydocstyle==6.1.1
pylint==2.15.4
Expand Down

0 comments on commit 6860434

Please sign in to comment.