Skip to content

chore: pytest dependency relaxed to include v8 #123

chore: pytest dependency relaxed to include v8

chore: pytest dependency relaxed to include v8 #123

Workflow file for this run

---
name: Test Python package
on: [pull_request, push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
pytest-version: [4, 5, 6, 7, 8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies, pytest ${{ matrix.pytest-version }}
run: |
python -m pip install --upgrade pip setuptools
pip install pytest==${{ matrix.pytest-version }}
pip install ".[tests]"
- name: Build image
run: |
docker-compose -f tests/docker-compose.yml pull
docker-compose -f tests/docker-compose.yml build
- name: Run tests
run: |
pytest -c setup.cfg
- name: Stop Docker compose
run: |
docker-compose -f tests/docker-compose.yml down