Skip to content

Add production setup and CI/CD pipeline #4

Add production setup and CI/CD pipeline

Add production setup and CI/CD pipeline #4

Workflow file for this run

name: Python Tests
on:
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and run tests
run: |
docker compose build
docker compose run --rm web pytest
- name: Clean up
if: always()
run: docker compose down --volumes --remove-orphans