From c3cbf8c8c21b71cbff255f9cf84877cf40216048 Mon Sep 17 00:00:00 2001 From: Alex Ganose Date: Fri, 1 Feb 2019 16:04:15 -0800 Subject: [PATCH] Update codacy and circleCI configs --- .circleci/config.yml | 11 ++++++----- .codacy.yml | 3 ++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3b239cde..02759f9f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,7 +23,7 @@ jobs: command: | python3 -m venv test_env . test_env/bin/activate - pip install --upgrade pip + pip install -q --upgrade pip pip install --quiet -r requirements.txt # pip install --quiet -r requirements-optional.txt @@ -33,12 +33,13 @@ jobs: cd ~/matminer git clone https://github.com/hackingmaterials/matminer.git cd matminer - pip install -e . + pip install -q -e . cd ~/automatminer pip install -e . - pip install coverage - pip install codacy-coverage + pip install -q coverage + pip install -q codacy-coverage + coverage run setup.py test coverage xml python-codacy-coverage -r coverage.xml @@ -47,4 +48,4 @@ jobs: - save_cache: paths: - ./test_env - key: v1-dependencies-{{ checksum "requirements.txt" }} \ No newline at end of file + key: v1-dependencies-{{ checksum "requirements.txt" }} diff --git a/.codacy.yml b/.codacy.yml index effafa8f..0f7c3288 100644 --- a/.codacy.yml +++ b/.codacy.yml @@ -27,4 +27,5 @@ exclude_paths: - '.circleci/*' - 'docs/**' - 'docs/*' - - '**/docs/**' \ No newline at end of file + - '**/docs/**' + - '**/tests/**'