Skip to content

Update README concerning new account delete feature #10

Update README concerning new account delete feature

Update README concerning new account delete feature #10

Workflow file for this run

name: CI/CD
on:
push:
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:17-alpine
env:
POSTGRES_USER: ${{ secrets.TEST_DB_USER }}
POSTGRES_PASSWORD: ${{ secrets.TEST_DB_PASSWORD }}
POSTGRES_DB: ${{ secrets.TEST_DB_NAME }}
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
DB_HOST: localhost
DB_USER: ${{ secrets.TEST_DB_USER }}
DB_PASSWORD: ${{ secrets.TEST_DB_PASSWORD }}
DB_NAME: ${{ secrets.TEST_DB_NAME }}
SECRET_KEY: ${{ secrets.TEST_SECRET_KEY }}
APP_ENV: development
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
- run: pip install -r requirements.txt
- run: pytest tests/ -v
deploy:
needs: test
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
steps:
- uses: actions/checkout@v4
- name: Deploy to Railway
run: npx @railway/cli@latest up --detach --service ${{ secrets.RAILWAY_SERVICE_ID }}
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}