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