-
-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ jobs: | |
sudo systemctl status [email protected] | ||
ls -la /var/run/postgresql/ | ||
- name: Set libpq environment variables | ||
run: echo PGPORT=5433 >>$GITHUB_ENV | ||
run: echo PGPORT=5432 >>$GITHUB_ENV | ||
- name: Create the database user | ||
run: sudo -E -u postgres createuser --superuser $(whoami) | ||
- name: Create the test database | ||
|
@@ -49,7 +49,7 @@ jobs: | |
- name: Install tox | ||
run: pip install tox | ||
- name: Write liberapay environment file for tests | ||
run: echo 'DATABASE_URL="port=5433 dbname=liberapay_tests"' >tests/local.env | ||
run: echo 'DATABASE_URL="port=5432 dbname=liberapay_tests"' >tests/local.env | ||
- name: Run the tests | ||
run: tox | ||
- name: Upload coverage reports to Codecov | ||
|