Skip to content

Python 3.6 removed from the test matrix #76

Python 3.6 removed from the test matrix

Python 3.6 removed from the test matrix #76

Workflow file for this run

---
name: Test Python package
on: [pull_request, push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9"]
pytest-version: [4, 5, 6, 7]
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