diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..b56cd20 --- /dev/null +++ b/.circleci/config.yml @@ -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 + diff --git a/README.rst b/README.rst index d6087b7..d561c07 100644 --- a/README.rst +++ b/README.rst @@ -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 ==========