Try CI with docker container

This commit is contained in:
2026-03-22 12:04:11 +00:00
parent 9895ba5c35
commit b125c95ac8

View File

@@ -7,21 +7,12 @@ on:
jobs:
test:
runs-on: ubuntu-latest
container: python:3.11-slim
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-asyncio
pip install pytest pytest-asyncio click cryptography pygments rich zeroconf
pip install -e .
- name: List installed packages
run: pip list
- name: Run tests
run: |
echo "Python version:"
python --version
echo "Running tests..."
pytest tests/ -v --tb=short
run: pytest tests/ -v