Commit ed322f8 1 parent 8b4be64 commit ed322f8 Copy full SHA for ed322f8
File tree 3 files changed +6
-4
lines changed
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 16
16
required : false
17
17
default : false
18
18
jobs :
19
- ubuntu-build :
19
+ test :
20
20
runs-on : ${{ matrix.os }}
21
21
strategy :
22
22
fail-fast : false
29
29
submodules : " recursive"
30
30
- name : Build
31
31
id : build
32
- run : sudo su -c "PG_VERSION=$PG_VERSION USE_SOURCE=1 GITHUB_OUTPUT=$GITHUB_OUTPUT ENABLE_COVERAGE=1 ./ci/scripts/build.sh"
32
+ run : sudo sh -c "PG_VERSION=$PG_VERSION USE_SOURCE=1 GITHUB_OUTPUT=$GITHUB_OUTPUT ENABLE_COVERAGE=1 ./ci/scripts/build.sh"
33
33
env :
34
34
PG_VERSION : ${{ matrix.postgres }}
35
35
BRANCH_NAME : ${{ github.head_ref || github.ref_name }}
45
45
if : ${{ startsWith(matrix.os, 'ubuntu') }}
46
46
- name : Run tests mac
47
47
id : test-mac
48
- run : sudo su postgres -c "PG_VERSION=$PG_VERSION ./ci/scripts/run-tests-mac.sh"
48
+ run : ./ci/scripts/run-tests-mac.sh
49
49
env :
50
50
PG_VERSION : ${{ matrix.postgres }}
51
51
if : ${{ startsWith(matrix.os, 'mac') }}
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ function package_if_necessary() {
24
24
}
25
25
26
26
function cleanup_environment() {
27
- : # nop
27
+ # Add permission to for running tests from runner user
28
+ chmod -R 777 /tmp/lantern
28
29
}
29
30
Original file line number Diff line number Diff line change 3
3
4
4
WORKDIR=/tmp/lantern
5
5
PG_VERSION=${PG_VERSION:- 15}
6
+ export PATH=" /usr/local/opt/postgresql@${PG_VERSION} /bin:$PATH "
6
7
7
8
wait_for_pg (){
8
9
tries=0
You can’t perform that action at this time.
0 commit comments