Skip to content

Commit

Permalink
Add test extras and update automated test package installation
Browse files Browse the repository at this point in the history
Remove Python 3.7 and add 3.11 to unit test automation
  • Loading branch information
NeonDaniel committed Nov 6, 2024
1 parent 274c92d commit ceb9085
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
unit_tests:
strategy:
matrix:
python-version: [ 3.7, 3.8, 3.9, "3.10" ]
python-version: [ 3.8, 3.9, "3.10", "3.11" ]
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
Expand All @@ -19,8 +19,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install -r requirements/test_requirements.txt
pip install -e .[test]
- name: Run Tests
run: |
pytest tests --doctest-modules --junitxml=tests/diana-test-results.xml
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def find_resource_files():
package_data={'neon_diana_utils': find_resource_files()},
include_package_data=True,
install_requires=get_requirements("requirements.txt"),
extras_require={"test": get_requirements("test_requirements.txt")},
zip_safe=True,
classifiers=[
'Intended Audience :: Developers',
Expand Down

0 comments on commit ceb9085

Please sign in to comment.