Skip to content

Bump pip-tools from 7.1.0 to 7.3.0 #1783

Bump pip-tools from 7.1.0 to 7.3.0

Bump pip-tools from 7.1.0 to 7.3.0 #1783

Workflow file for this run

name: Integration Tests
on: [pull_request]
jobs:
build:
strategy:
max-parallel: 4
matrix:
os: [ubuntu-latest]
python-version: ["3.11"]
runs-on: ${{ matrix.os }}
name: Integration Tests
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install requirements
run: |
pip install aiohttp aiofiles motor pytest pytest-asyncio
- name: Start Services
run: |
docker compose --env-file .env.example up -d --build
sleep 45
- name: Run Integration test
run: |
pytest tests/integration
env:
BASE_URL: http://localhost:5430
OIDC_URL: http://localhost:8000
- name: Collect logs from docker
if: ${{ failure() }}
run: docker compose logs --no-color -t > tests/dockerlogs || true
- name: Persist log files
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: test_debugging_help
path: tests
- name: Shut down services and remove volumes
run: |
docker compose down -v
sleep 30
- name: Create TLS keys and certificates
run: ./scripts/tls/tls_helper.sh
- name: Start services with TLS enabled
run: |
docker compose -f docker-compose-tls.yml --env-file .env.example up -d
sleep 45
- name: Run Integration test
run: |
pytest tests/integration
env:
BASE_URL: http://localhost:5430
OIDC_URL: http://localhost:8000
MONGO_SSL: True
- name: Collect logs from docker
if: ${{ failure() }}
run: docker compose logs --no-color -t > tests/dockerlogs || true
- name: Persist log files
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: test_debugging_help
path: tests