Verified Commit 262c0607 authored by Duncan Macleod's avatar Duncan Macleod
Browse files

ci: use pip install everywhere

`python setup.py install` is not exactly the same, `pip install` validates more of the metadata
parent fd10b572
...@@ -49,7 +49,7 @@ python-2.7: ...@@ -49,7 +49,7 @@ python-2.7:
stage: test stage: test
image: bilbydev/bilby-test-suite-python27 image: bilbydev/bilby-test-suite-python27
script: script:
- python setup.py install - python -m pip install .
# Run tests without finding coverage # Run tests without finding coverage
- pytest --ignore=test/utils_py3_test.py - pytest --ignore=test/utils_py3_test.py
...@@ -58,7 +58,7 @@ python-3.7: ...@@ -58,7 +58,7 @@ python-3.7:
stage: test stage: test
image: bilbydev/bilby-test-suite-python37 image: bilbydev/bilby-test-suite-python37
script: script:
- python setup.py install - python -m pip install .
# Run pyflakes # Run pyflakes
- flake8 . - flake8 .
...@@ -86,7 +86,7 @@ scheduled-python-3.7: ...@@ -86,7 +86,7 @@ scheduled-python-3.7:
only: only:
- schedules - schedules
script: script:
- python setup.py install - python -m pip install .
# Run tests which are only done on schedule # Run tests which are only done on schedule
- pytest test/example_test.py - pytest test/example_test.py
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment