File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -990,6 +990,7 @@ jobs:
990
990
cache-on-failure : true
991
991
workspaces : sable -> target
992
992
- run : rustc --version
993
+ - run : sudo systemctl start postgresql.service
993
994
- name : Build Sable
994
995
run : |
995
996
cd $GITHUB_WORKSPACE/sable/
@@ -1003,7 +1004,8 @@ jobs:
1003
1004
- env :
1004
1005
IRCTEST_DEBUG_LOGS : ${{ runner.debug }}
1005
1006
name : Test with pytest
1006
- run : PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=$GITHUB_WORKSPACE/sable/target/debug/sbin:$GITHUB_WORKSPACE/sable/target/debug/bin:$GITHUB_WORKSPACE/sable/target/debug:$PATH
1007
+ run : PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH
1008
+ IRCTEST_POSTGRESQL_URL=postgresql:// PATH=$GITHUB_WORKSPACE/sable/target/debug/sbin:$GITHUB_WORKSPACE/sable/target/debug/bin:$GITHUB_WORKSPACE/sable/target/debug:$PATH
1007
1009
make sable
1008
1010
timeout-minutes : 30
1009
1011
- if : always()
Original file line number Diff line number Diff line change @@ -1154,6 +1154,7 @@ jobs:
1154
1154
cache-on-failure : true
1155
1155
workspaces : sable -> target
1156
1156
- run : rustc --version
1157
+ - run : sudo systemctl start postgresql.service
1157
1158
- name : Build Sable
1158
1159
run : |
1159
1160
cd $GITHUB_WORKSPACE/sable/
@@ -1167,7 +1168,8 @@ jobs:
1167
1168
- env :
1168
1169
IRCTEST_DEBUG_LOGS : ${{ runner.debug }}
1169
1170
name : Test with pytest
1170
- run : PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=$GITHUB_WORKSPACE/sable/target/debug/sbin:$GITHUB_WORKSPACE/sable/target/debug/bin:$GITHUB_WORKSPACE/sable/target/debug:$PATH
1171
+ run : PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH
1172
+ IRCTEST_POSTGRESQL_URL=postgresql:// PATH=$GITHUB_WORKSPACE/sable/target/debug/sbin:$GITHUB_WORKSPACE/sable/target/debug/bin:$GITHUB_WORKSPACE/sable/target/debug:$PATH
1171
1173
make sable
1172
1174
timeout-minutes : 30
1173
1175
- if : always()
Original file line number Diff line number Diff line change @@ -268,6 +268,9 @@ software:
268
268
workspaces : " sable -> target"
269
269
cache-on-failure : true
270
270
- run : rustc --version
271
+ - run : start postgresql
272
+ run : " sudo systemctl start postgresql.service"
273
+ env : " IRCTEST_POSTGRESQL_URL=postgresql://"
271
274
separate_build_job : false
272
275
build_script : |
273
276
cd $GITHUB_WORKSPACE/sable/
You can’t perform that action at this time.
0 commit comments