New: circleci

This commit is contained in:
L-Nafaryus 2021-11-18 11:12:59 +05:00
parent 8920e89928
commit 2c27c25389
No known key found for this signature in database
GPG Key ID: C76D8DCD2727DBB7
2 changed files with 29 additions and 0 deletions

26
.circleci/config.yml Normal file
View 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

View File

@ -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
==========