Skip to content

allow docker_compose_files to be a list #139

allow docker_compose_files to be a list

allow docker_compose_files to be a list #139

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", "3.12"]
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