aboutsummaryrefslogblamecommitdiff
blob: e6accb3faf856ed5567416e8b35b2ca13a18ebe9 (plain) (tree)
1
2
            
     
















                                                                                   
           
                              


                






                                           
                                                                                   
                           
                     


                                































                                                                                   
          
                     
         




                        
version: 2.1
jobs:
  run-tests-37:
    docker:
      - image: cimg/python:3.7
    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-tests-38-cov:
    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"
  run-tests-39:
    docker:
      - image: cimg/python:3.9
    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-tests-310:
    docker:
      - image: cimg/python:3.10
    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          
workflows:
  run-tests-workflow:
    jobs:
      - run-tests-37
      - run-tests-38-cov
      - run-tests-39
      - run-tests-310
      
Powered by cgit v1.2.3 (git 2.41.0)