fix: bootstrap pip in ci
Some checks failed
CI / hygiene (push) Successful in 1s
Build and Deploy / build-and-deploy (push) Successful in 12s
CI / go (push) Successful in 27s
CI / python (push) Failing after 14s

This commit is contained in:
Grendgi
2026-06-18 10:29:46 +03:00
parent cb8e290d8f
commit 47ac87bbc3

View File

@@ -32,6 +32,10 @@ jobs:
needs: hygiene needs: hygiene
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: |
if ! python3 -m pip --version; then
python3 -m ensurepip --upgrade || (apt-get update && apt-get install -y python3-pip)
fi
- run: python3 -m pip install -r requirements.txt - run: python3 -m pip install -r requirements.txt
- run: python3 -m compileall app - run: python3 -m compileall app
- run: python3 -m unittest discover -s tests - run: python3 -m unittest discover -s tests