Skip to content
Snippets Groups Projects
Commit 2a860035 authored by Arin Wongprommoon's avatar Arin Wongprommoon
Browse files

[WIP] ci: ignore network and pipeline tests

WHY IS THIS CHANGE NEEDED?:
- pipeline failed: https://git.ecdf.ed.ac.uk/swain-lab/aliby/aliby/-/jobs/56303
  because ModuleNotFoundError: 'omero'

HOW DOES THE CHANGE SOLVE THE PROBLEM?:
- ci script had redundant lines: it run tests while ignoring network &
  pipeline, then ran tests again with coverage but without ignoring
  these
- ignored network because it requires 'omero'
- ignored pipeline because it requires specific files not accessible now

REFERENCES:
- issue #46
parent 8d83cc87
No related branches found
No related tags found
No related merge requests found
......@@ -38,8 +38,7 @@ Local Tests:
stage: tests
script:
# - poetry install -vv
- poetry run pytest ./tests --ignore ./tests/aliby/network --ignore ./tests/aliby/pipeline
- poetry run coverage run -m pytest
- poetry run coverage run -m pytest ./tests --ignore ./tests/aliby/network --ignore ./tests/aliby/pipeline
- poetry run coverage report -m
- poetry run coverage xml
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
......
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