-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from billtrn/circleci-project-setup
Migrate to CircleCI
- Loading branch information
Showing
3 changed files
with
37 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
python: circleci/python@1.5.0 | ||
|
||
jobs: | ||
build-and-test: | ||
docker: | ||
- image: circleci/python:3.9 | ||
|
||
steps: | ||
- checkout | ||
|
||
- run: | ||
name: Install Dependencies | ||
command: | | ||
sudo apt-get update | ||
sudo apt-get install graphviz libgraphviz-dev | ||
pip install poetry | ||
poetry install | ||
pip install coveralls | ||
- run: | ||
name: Run Tests | ||
command: | | ||
poetry run pytest --cov=dsplot | ||
- run: | ||
name: Upload Coverage to Coveralls | ||
command: coveralls | ||
|
||
workflows: | ||
test: | ||
jobs: | ||
- build-and-test |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters