Skip to content

Commit

Permalink
Fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
nikmolnar committed Oct 29, 2023
1 parent cb107d3 commit 4af6612
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,12 @@ jobs:
poetry run pip install tox
- name: Set up database
run: |
psql -c 'CREATE ROLE django SUPERUSER LOGIN CREATEDB;' -U postgres -h localhost
psql -c 'CREATE ROLE travis SUPERUSER LOGIN CREATEDB;' -U postgres -h localhost
psql -c 'CREATE DATABASE test_pg_database;' -U postgres -h localhost
psql -c 'CREATE EXTENSION postgis;' -U postgres -d test_pg_database -h localhost
psql -c 'CREATE EXTENSION postgis_topology;' -U postgres -d test_pg_database -h localhost
psql -c 'CREATE ROLE django SUPERUSER LOGIN CREATEDB;' -U postgres
psql -c 'CREATE ROLE travis SUPERUSER LOGIN CREATEDB;' -U postgres
psql -c 'CREATE DATABASE test_pg_database;' -U postgres
psql -c 'CREATE EXTENSION postgis;' -U postgres -d test_pg_database
psql -c 'CREATE EXTENSION postgis_topology;' -U postgres -d test_pg_database
- name: Run Tests
run: |
TOXENV=django poetry run tox
TOXENV=nodjango poetry run tox

0 comments on commit 4af6612

Please sign in to comment.