blob: c250e6178d3e11898d87bb4293aa8f88445085d7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
version: 2.1
jobs:
run-tests:
docker:
- image: cimg/python:3.8
steps:
- checkout
- run:
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 --addopts '--junitxml=tests/result.xml'"
- store_test_results:
path: ~/test
- run:
name: "Notify codecov"
command: "codecov"
workflows:
run-tests-workflow:
jobs:
- run-tests
|