diff --git a/.circleci/config.yml b/.circleci/config.yml index 8b6f5792..ae989e5e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -39,9 +39,6 @@ jobs: test-build-docs: type: boolean default: false - test-with-codeclimate: - type: boolean - default: false test-with-mypy: type: boolean default: true @@ -68,23 +65,11 @@ jobs: pip install -r consul-requirements.txt; python setup.py install; pip freeze - - when: - condition: <> - steps: - - run: - name: run tests (with CodeClimate) - command: | - mkdir test-reports - pytest -s --cov=ldclient --junitxml=test-reports/junit.xml testing -W error::SyntaxWarning - sh -c '[ -n "${CODECLIMATE_REPO_TOKEN+1}" ] && codeclimate-test-reporter || echo "No CODECLIMATE_REPO_TOKEN value is set; not publishing coverage report"' - - unless: - condition: <> - steps: - - run: - name: run tests - command: | - mkdir test-reports - pytest -s --junitxml=test-reports/junit.xml testing -W error::SyntaxWarning + - run: + name: run tests + command: | + mkdir test-reports + pytest -s --cov=ldclient --cov-report=html:build/html --junitxml=test-reports/junit.xml testing -W error::SyntaxWarning - when: condition: <> steps: @@ -137,7 +122,7 @@ jobs: - store_test_results: path: test-reports - store_artifacts: - path: test-reports + path: build/html test-windows: diff --git a/test-requirements.txt b/test-requirements.txt index 25b8ab88..1051db57 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5,6 +5,5 @@ boto3>=1.9.71,<2.0.0 coverage>=4.4 jsonpickle==0.9.3 pytest-cov>=2.4.0 -codeclimate-test-reporter>=0.2.1 pytest-mypy==0.8.1 -mypy==0.910 \ No newline at end of file +mypy==0.910