Skip to content

Commit

Permalink
pip install remotezip[test] for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jhkennedy authored and gtsystem committed Dec 13, 2023
1 parent 3723724 commit 025729d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests requests_mock wheel
python -m pip install '.[test]'
- name: Test
run: |
python test_remotezip.py -v
- name: Package
run: |
python -m pip install wheel
python setup.py bdist_wheel
- name: Archive artifact
uses: actions/upload-artifact@v2
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
long_description=description,
long_description_content_type="text/markdown",
install_requires=["requests", "tabulate"],
tests_require=['requests_mock'],
extras_require={
"test": ["requests_mock"],
},
entry_points={
'console_scripts': ['remotezip = remotezip:main']
},
Expand Down

0 comments on commit 025729d

Please sign in to comment.