another try #931
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: integration | |
on: | |
push: | |
branches: | |
- main | |
- wip | |
pull_request: | |
jobs: | |
build: | |
name: ubuntu-py39-integration | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- name: Set up docker containers | |
run: | | |
docker compose -f "tests/integration_setup/docker-compose.yml" up -d --build | |
docker ps -a | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install wheel | |
- name: Install | |
run: | | |
python -m pip install --no-cache-dir -r requirements-dev.txt | |
- name: Run integration tests | |
run: | | |
pytest --doctest-modules | |
pytest docs | |
- name: Tear down docker containers | |
run: | | |
docker compose -f "tests/integration_setup/docker-compose.yml" down |