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