Skip to content
Snippets Groups Projects
Commit dd286fd6 authored by E. Madison Bray's avatar E. Madison Bray
Browse files

[ci] add a simple CI pipeline to run the tests

parent 180a32ee
No related branches found
No related tags found
No related merge requests found
Pipeline #1227 failed
stages:
- "test"
.test: &test
before_script:
- "pip install --upgrade pip"
- "pip install -r requirements.txt"
- "pip install .[tests]"
- "pip install pytest pytest-cov"
script:
- >
pytest -v --color=yes --cov --cov-report=term
--cov-report=xml --junit-xml=pytest-xunit.xml
artifacts:
reports:
junit: pytest-xunit.xml
cobertura: coverage.xml
python3.7:
stage: "test"
image: "python:3.7"
<<: *test
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