build(deps): bump fastapi from 0.95.0 to 0.109.1 in /app #559
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
on: pull_request | |
name: Run linting checks and tests | |
jobs: | |
lint: | |
name: Linting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check Linting. | |
run: | | |
docker run -v $PWD/app:/app ghcr.io/rev-amp/backend /app/scripts/lint.sh | |
test: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run tests. | |
run: | | |
cat > .env << EOF | |
SERVER_NAME=localhost | |
SERVER_HOST=http://localhost | |
PROJECT_NAME=Rev-AMP | |
SECRET_KEY=$(openssl rand -hex 32) | |
FIRST_SUPERUSER=admin@revamp.ci.env | |
FIRST_SUPERUSER_PASSWORD=F01bc9165d5b7a67d58fDd38dafdc9ac | |
SMTP_HOST= | |
SENTRY_DSN= | |
# Database configuration - set postgres for CI | |
DB=postgres | |
DB_SERVER=db | |
DB_USER=revamp | |
DB_PASSWORD=password | |
DB_NAME=revamp | |
EOF | |
docker-compose up --abort-on-container-exit --exit-code-from backend |