Skip to content

Commit

Permalink
Add pre-commit to release WF
Browse files Browse the repository at this point in the history
  • Loading branch information
mshriver committed Nov 21, 2022
1 parent c347e53 commit 5e55d9e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,15 @@ jobs:
sudo apt-get install -y libgnutls28-dev libcurl4-openssl-dev libssl-dev
# Uninstall pycurl - its likely not installed, but in case the ubuntu-latest packages change
# then compile and install it with PYCURL_SSL_LIBRARY set to openssl
pip install -U pip
pip install -U pip wheel
pip uninstall -y pycurl
pip install --compile --no-cache-dir pycurl
pip install -Ur requirements-test.txt --upgrade-strategy eager
pip install -U .[test]
- name: Pre Commit Checks
 uses: pre-commit/[email protected]
 with:
 extra_args: --show-diff-on-failure

- name: Run Unit Tests
run: py.test tests/ -v --cov wrapanapi
Expand Down

0 comments on commit 5e55d9e

Please sign in to comment.