https://github.com/GPflow/GPflow
Raw File
Tip revision: 64a52dd9887ef748ac08579f2f3011d463cddf5a authored by vdutor on 15 February 2019, 10:47:07 UTC
Add unit test
Tip revision: 64a52dd
config.yml
runtest: &runtest
  steps:
    - checkout
    - run:
        name: Install GPflow
        command: python setup.py install
    - run:
        name: Run tests
        command: pytest -v -W ignore::UserWarning --durations=10 -m "${PYTEST_FILTER}" --cov=./gpflow ./tests
    - run:
        name: Upload coverage report
        command: bash <(curl -s https://codecov.io/bash) -t "${CODECOV_TOKEN}"

version: 2.1

jobs:
  unit-test:
    <<: *runtest
    docker:
      - image: awav/tensorflow:1.12.0
        environment:
          PYTEST_FILTER: not notebooks

  notebook-test:
    <<: *runtest
    docker:
      - image: awav/tensorflow:1.12.0
        environment:
          PYTEST_FILTER: notebooks

workflows:
  version: 2.1
  build_and_test:
    jobs:
      - unit-test
      - notebook-test
back to top