Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update codacy and circleCI configs #173

Merged
merged 1 commit into from
Feb 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -47,4 +48,4 @@ jobs:
- save_cache:
paths:
- ./test_env
key: v1-dependencies-{{ checksum "requirements.txt" }}
key: v1-dependencies-{{ checksum "requirements.txt" }}
3 changes: 2 additions & 1 deletion .codacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ exclude_paths:
- '.circleci/*'
- 'docs/**'
- 'docs/*'
- '**/docs/**'
- '**/docs/**'
- '**/tests/**'