Skip to content

Commit

Permalink
CI: .[test] extra
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-williams committed Oct 29, 2021
1 parent 27dda8b commit 84bb2ca
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ jobs:

- name: Install Python 3.x dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install tox numpy
python3 -m pip install --upgrade pip setuptools wheel
python3 -m pip install -e .[test]
- name: Set up R 4.1
if: matrix.lang == 'R'
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
include LICENSE
include requirements.txt
include requirements-test.txt
3 changes: 3 additions & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
coverage
pytest
tox
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
with open(join(dir, "requirements.txt"), "r") as f:
install_requires = [line.rstrip("\n") for line in f.readlines()]

with open(join(dir, "requirements-test.txt"), "r") as f:
tests_require = [line.rstrip("\n") for line in f.readlines()]

setup(
name="metaflow",
version=version,
Expand All @@ -25,5 +28,5 @@
metaflow=metaflow.main_cli:main
""",
install_requires=install_requires,
tests_require=["coverage"],
tests_require=tests_require,
)

0 comments on commit 84bb2ca

Please sign in to comment.