Skip to content

Commit

Permalink
Fix: Activate micone environment in each step
Browse files Browse the repository at this point in the history
  • Loading branch information
dileep-kishore committed Feb 1, 2021
1 parent c22fe49 commit 4109790
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,15 @@ jobs:
micone init --env micone-sparcc
- name: Lint with flake8
run: |
source activate micone
pip install flake8
# stop the build if there are Python syntax errors or undefined names
flake8 micone --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 micone --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
source activate micone
pytest --cov=micone
- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v1
Expand Down

0 comments on commit 4109790

Please sign in to comment.