Skip to content

Commit 24095d2

Browse files
committed
Refactor test target to include setup step and remove redundant pip install commands
1 parent 996e23b commit 24095d2

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,8 @@ clean:
4545
rm -rf src/lightning_fabric/*/
4646
rm -rf src/pytorch_lightning/*/
4747

48-
test: clean
48+
test: clean setup
4949
# Review the CONTRIBUTING documentation for other ways to test.
50-
pip install -e . \
51-
-r requirements/pytorch/base.txt \
52-
-r requirements/fabric/base.txt \
53-
-r requirements/pytorch/test.txt \
5450

5551
# run tests with coverage
5652
python -m coverage run --source src/lightning/pytorch -m pytest src/lightning/pytorch tests/tests_pytorch -v

0 commit comments

Comments
 (0)