Add pyproject.toml info #1064
This file contains hidden or 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 | |
| - LTS-main-1.x | |
| pull_request: | |
| branches: | |
| - main | |
| - LTS-main-1.x | |
| jobs: | |
| build: | |
| name: ubuntu-py311-integration | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python 3.11 | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: '3.11' | |
| - 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 |