Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update python tests to include installation check
Signed-off-by: lelia <lelia@socket.dev>
  • Loading branch information
lelia committed Mar 23, 2026
commit a4e9b8fd0c0080f92e9a635e8870fa15a1563d73
20 changes: 20 additions & 0 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,23 @@ jobs:
uv sync --extra test
- name: 🧪 run tests
run: uv run pytest -q tests/unit/ tests/core/

unsupported-python-install:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
with:
fetch-depth: 1
persist-credentials: false
- name: 🐍 setup python
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3
with:
python-version: "3.10"
- name: 🚫 verify install is rejected on unsupported python
run: |
python -m pip install --upgrade pip
if pip install .; then
echo "Expected pip install . to fail on Python 3.10"
exit 1
fi