Skip to content

Commit 5e55d9e

Browse files
committed
Add pre-commit to release WF
1 parent c347e53 commit 5e55d9e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/release_to_pypi.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,15 @@ jobs:
2828
sudo apt-get install -y libgnutls28-dev libcurl4-openssl-dev libssl-dev
2929
# Uninstall pycurl - its likely not installed, but in case the ubuntu-latest packages change
3030
# then compile and install it with PYCURL_SSL_LIBRARY set to openssl
31-
pip install -U pip
31+
pip install -U pip wheel
3232
pip uninstall -y pycurl
3333
pip install --compile --no-cache-dir pycurl
34-
pip install -Ur requirements-test.txt --upgrade-strategy eager
34+
pip install -U .[test]
35+
36+
- name: Pre Commit Checks
37+
 uses: pre-commit/action@v3.0.0
38+
 with:
39+
 extra_args: --show-diff-on-failure
3540

3641
- name: Run Unit Tests
3742
run: py.test tests/ -v --cov wrapanapi

0 commit comments

Comments
 (0)