aboutsummaryrefslogtreecommitdiff
blob: 513db1a1dae5af4dc8a1a292242d065a1c3ad0b4 (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
Powered by cgit v1.2.3 (git 2.41.0)