Skip to content

Commit

Permalink
ci: Install bond-cli in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
fredericojordan committed Apr 12, 2022
1 parent f46b8ea commit 7ae7a07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-test.txt
pip install -e .
- name: Lint with flake8
run: |
# stop the build if there are any errors. The GitHub editor is 127 chars wide
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
- name: Install Python dependencies
run: pip install -r requirements.txt -r requirements-test.txt

- name: Install Bond CLI
run: pip install -e .

- name: Calculate HEAD coverage
run: pytest -q . && coverage report -m --precision=2 | tee /tmp/cov_head | tail -n1 | sed 's/%//g' | awk '{printf "cov_head=%s", $4}' >> $GITHUB_ENV
working-directory: .
Expand Down

0 comments on commit 7ae7a07

Please sign in to comment.