We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19294ae commit f8fd960Copy full SHA for f8fd960
entrypoint.sh
@@ -5,5 +5,8 @@ if [ "$TASK" = "publish" ]; then
5
python setup.py sdist bdist_wheel
6
twine upload dist/* --repository-url https://upload.pypi.org/legacy/ -u "__token__" -p "$PYPI_API_TOKEN"
7
else
8
- pre-commit run --all-files && pytest --capture=no
+ if [ "$RUN_PRE_COMMIT" == "true" ]; then
9
+ pre-commit run --all-files
10
+ fi
11
+ pytest --capture=no
12
fi
0 commit comments