Skip to content
Snippets Groups Projects
Commit d68b30f7 authored by Paul Lasky's avatar Paul Lasky
Browse files

Merge branch '309-split-tests-into-on-push-and-scheduled' into 'master'

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

Closes #309

See merge request lscsoft/bilby!358
parents 3d5ea9dc d51c3e0e
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment