Skip to content

Integration tests fix #98

Integration tests fix

Integration tests fix #98

name: Integration tests
on:
pull_request:
permissions:
contents: read
jobs:
verify-integration:
name: lint, test
runs-on: ubuntu-latest
strategy:
fail-fast: false # keep running if one leg fails
matrix:
python-version:
- '3.11'
defaults:
run:
working-directory: ./tests
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 #4.1.7
- name: Build the containers
run: docker compose -f ../docker-compose-dev.yaml build
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Set up tox environment
run: |
pver=${{ matrix.python-version }}
tox_env="-epy${pver/./}"
echo tox_env
echo TOX_ENV=$tox_env >> $GITHUB_ENV
- name: Install tox
run: |
pip install tox==4.16.0
- name: Run styles check
run: tox -elint
- name: Test using tox environment
run: |
tox ${{ env.TOX_ENV }}