Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! Test against PostgreSQL in GitHub …
Browse files Browse the repository at this point in the history
…Actions
  • Loading branch information
matrss committed Jul 9, 2024
1 parent 1993830 commit c372fa2
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/testing-all-oses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,18 +96,16 @@ jobs:
- name: Prepare databases
# Create a database for each of the pytest-xdist processes.
# The number of created databases might need to be changed in the future, if GitHub runners change.
run: PGPASSWORD=postgres psql -h localhost -p 5432 -U postgres -c
'
create database mscolab_master;
create database mscolab_gw0;
create database mscolab_gw1;
create database mscolab_gw2;
create database mscolab_gw3;
create database mscolab_gw4;
create database mscolab_gw5;
create database mscolab_gw6;
create database mscolab_gw7;
'
run: PGPASSWORD=postgres psql -h localhost -p 5432 -U postgres
-c 'create database mscolab_master;'
-c 'create database mscolab_gw0;'
-c 'create database mscolab_gw1;'
-c 'create database mscolab_gw2;'
-c 'create database mscolab_gw3;'
-c 'create database mscolab_gw4;'
-c 'create database mscolab_gw5;'
-c 'create database mscolab_gw6;'
-c 'create database mscolab_gw7;'
- name: Run tests
timeout-minutes: 40
# The ignored files can somehow cause the test suite to timeout.
Expand Down

0 comments on commit c372fa2

Please sign in to comment.