New: circleci
This commit is contained in:
parent
8920e89928
commit
2c27c25389
26
.circleci/config.yml
Normal file
26
.circleci/config.yml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
version: 2.1
|
||||||
|
|
||||||
|
workflows:
|
||||||
|
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: |
|
||||||
|
poetry run pytest --cov=anisotropy tests
|
||||||
|
- store_artifacts:
|
||||||
|
path: test-reports
|
||||||
|
|
@ -1,3 +1,6 @@
|
|||||||
|
.. image:: https://circleci.com/gh/L-Nafaryus/anisotropy/tree/master.svg?style=svg&circle-token=423bc964a997ded671ebd4ceacc25f9967acdffa
|
||||||
|
:target: https://circleci.com/gh/L-Nafaryus/anisotropy/tree/master
|
||||||
|
|
||||||
anisotropy
|
anisotropy
|
||||||
==========
|
==========
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user