Redirect to ManuscriptListView when manuscript is not found #248
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |