Commit d51c3e0e authored by Gregory Ashton's avatar Gregory Ashton Committed by Paul Lasky

Resolve "Split tests into "on-push" and "scheduled""

parent 3d5ea9dc
......@@ -79,6 +79,28 @@ python-3.7:
- coverage_badge.svg
- docs/_build/html/
# Tests run at a fixed schedule rather than on push
scheduled-python-3.7:
stage: test
image: bilbydev/bilby-test-suite-python37
only:
- schedules
before_script:
# Install the dependencies specified in the Pipfile
- pipenv install --three --python=/opt/conda/bin/python --system --deploy
script:
- python setup.py install
# Run pyflakes
- flake8 .
# Run tests
- pytest
# Run tests which are only done on schedule
- pytest test/example_test.py
- pytest test/gw_example_test.py
pages:
stage: deploy
dependencies:
......
......@@ -6,6 +6,8 @@ ignore = E129 W504 W605
[tool:pytest]
addopts =
--ignore test/other_test.py
--ignore test/gw_example_test.py
--ignore test/example_test.py
[metadata]
license_file = LICENSE.md
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