Skip to content

Use poetry for python dependency management #301

Use poetry for python dependency management

Use poetry for python dependency management #301

Workflow file for this run

name: unit-tests
on:
pull_request:
types: [opened, synchronize]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/black@stable
run-tests:
runs-on: ubuntu-latest
env:
POSTGRES_DB: test_cu
POSTGRES_USER: admin
POSTGRES_PASSWORD: supersecurepassword99
RABBIT_VHOST: test_cu
RABBIT_USER: admin
RABBIT_PASSWORD: supersecurepassword99
steps:
- uses: actions/checkout@v3
- run: docker compose build
- run: docker compose up -d
- run: docker compose exec -T app python runtests.py cantusdata.test.core