Spaces:
Runtime error
Runtime error
Commit ·
8ddc1d0
1
Parent(s): 92de720
Updated yml file to add create test db
Browse files55 unmodified lines565758596061626364656655 unmodified lines env: PGPASSWORD: ${{ secrets.DATABASE_PASSWORD }}
- name: Create test database run: | psql -h localhost -U ${{ secrets.DATABASE_USERNAME }} -d postgres -c "CREATE DATABASE ${{ secrets.DATABASE_NAME }}_test;" env: PGPASSWORD: ${{ secrets.DATABASE_PASSWORD }}
- name: Run tests run: pytest.github/workflows/build-deploy.yml+6