Skip to content

update the ci to include docker-compose #25

update the ci to include docker-compose

update the ci to include docker-compose #25

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.10', '3.11']
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Start containers
run: docker-compose -f "docker-compose.yaml" up -d --build
- name: Run Tests
run: docker-compose exec -T app-service pytest -vv