aboutsummaryrefslogtreecommitdiff
blob: 29afec28d7d1cc875fc042224b9528bec72d9902 (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: ~/tests
      - run:
          name: "Notify codecov"
          command: "codecov"
workflows:
  run-tests-workflow:
    jobs:
      - run-tests
Powered by cgit v1.2.3 (git 2.41.0)