2022-11-10 22:51:26 +00:00
|
|
|
version: 2.1
|
|
|
|
jobs:
|
2022-11-10 23:02:08 +00:00
|
|
|
run-tests:
|
2022-11-10 22:51:26 +00:00
|
|
|
docker:
|
2022-11-10 23:02:08 +00:00
|
|
|
- image: cimg/python
|
2022-11-10 22:51:26 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
2022-11-10 23:02:08 +00:00
|
|
|
name: "Install test deps"
|
|
|
|
command: "pip install .[test]"
|
|
|
|
- run:
|
|
|
|
name: "Install codecov"
|
|
|
|
command: "pip install codecov"
|
|
|
|
- run:
|
|
|
|
name: "Run tests"
|
|
|
|
command: "python setup.py pytest"
|
|
|
|
- run:
|
|
|
|
name: "Notify codecov"
|
|
|
|
command: "codecov"
|
2022-11-10 22:51:26 +00:00
|
|
|
workflows:
|
2022-11-10 23:02:08 +00:00
|
|
|
run-tests-workflow:
|
2022-11-10 22:51:26 +00:00
|
|
|
jobs:
|
2022-11-10 23:02:08 +00:00
|
|
|
- run-tests
|