Skip to content

Commit 734fa6a

Browse files
author
lapaliv
committed
ci: phpunit fix
1 parent 9e04209 commit 734fa6a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Diff for: .github/workflows/check.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
php-version: [ 8.0, 8.1, 8.2, 8.3, 8.4 ]
13+
php-version: [8.0, 8.1, 8.2, 8.3, 8.4]
1414

1515
steps:
1616
- name: Checkout repository
@@ -34,12 +34,12 @@ jobs:
3434
password: 'test_password'
3535

3636
- name: Start PostgreSQL
37-
uses: Harmon758/[email protected]
38-
with:
39-
postgresql version: '14'
40-
postgresql db: 'test_db'
41-
postgresql user: 'test_user'
42-
postgresql password: 'test_password'
37+
run: |
38+
sudo apt-get update
39+
sudo apt-get install -y postgresql postgresql-contrib
40+
sudo service postgresql start
41+
sudo -u postgres psql -c "CREATE USER test_user WITH PASSWORD 'test_password';"
42+
sudo -u postgres psql -c "CREATE DATABASE test_db OWNER test_user;"
4343
4444
- name: Install dependencies
4545
run: |

0 commit comments

Comments
 (0)