anisotropy/.circleci/config.yml

29 lines
603 B
YAML
Raw Normal View History

2021-11-18 11:17:06 +05:00
version: 2
2021-11-18 11:12:59 +05:00
workflows:
2021-11-18 11:17:06 +05:00
version: 2
2021-11-18 11:12:59 +05:00
test:
jobs:
- test-3.10
jobs:
test-3.10:
docker:
- image: cimg/python:3.10
steps:
- checkout
- run:
name: install packages
command: |
pip install poetry
poetry config virtualenvs.in-project true
poetry install
- run:
name: run tests
command: |
2021-11-18 11:52:35 +05:00
mkdir test-reports
2021-11-18 12:34:43 +05:00
poetry run pytest --cov=anisotropy --json-report --json-report-file test-reports/pytest.json -v tests
2021-11-18 11:12:59 +05:00
- store_artifacts:
path: test-reports