mirror of
https://github.com/progval/irctest.git
synced 2025-04-07 07:49:52 +00:00
Start postgresql
This commit is contained in:
4
.github/workflows/test-devel.yml
vendored
4
.github/workflows/test-devel.yml
vendored
@ -990,6 +990,7 @@ jobs:
|
|||||||
cache-on-failure: true
|
cache-on-failure: true
|
||||||
workspaces: sable -> target
|
workspaces: sable -> target
|
||||||
- run: rustc --version
|
- run: rustc --version
|
||||||
|
- run: sudo systemctl start postgresql.service
|
||||||
- name: Build Sable
|
- name: Build Sable
|
||||||
run: |
|
run: |
|
||||||
cd $GITHUB_WORKSPACE/sable/
|
cd $GITHUB_WORKSPACE/sable/
|
||||||
@ -1003,7 +1004,8 @@ jobs:
|
|||||||
- env:
|
- env:
|
||||||
IRCTEST_DEBUG_LOGS: ${{ runner.debug }}
|
IRCTEST_DEBUG_LOGS: ${{ runner.debug }}
|
||||||
name: Test with pytest
|
name: Test with pytest
|
||||||
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
|
run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH
|
||||||
|
IRCTEST_POSTGRESQL_URL=postgresql:// PATH=$GITHUB_WORKSPACE/sable/target/debug/sbin:$GITHUB_WORKSPACE/sable/target/debug/bin:$GITHUB_WORKSPACE/sable/target/debug:$PATH
|
||||||
make sable
|
make sable
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
- if: always()
|
- if: always()
|
||||||
|
4
.github/workflows/test-stable.yml
vendored
4
.github/workflows/test-stable.yml
vendored
@ -1154,6 +1154,7 @@ jobs:
|
|||||||
cache-on-failure: true
|
cache-on-failure: true
|
||||||
workspaces: sable -> target
|
workspaces: sable -> target
|
||||||
- run: rustc --version
|
- run: rustc --version
|
||||||
|
- run: sudo systemctl start postgresql.service
|
||||||
- name: Build Sable
|
- name: Build Sable
|
||||||
run: |
|
run: |
|
||||||
cd $GITHUB_WORKSPACE/sable/
|
cd $GITHUB_WORKSPACE/sable/
|
||||||
@ -1167,7 +1168,8 @@ jobs:
|
|||||||
- env:
|
- env:
|
||||||
IRCTEST_DEBUG_LOGS: ${{ runner.debug }}
|
IRCTEST_DEBUG_LOGS: ${{ runner.debug }}
|
||||||
name: Test with pytest
|
name: Test with pytest
|
||||||
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
|
run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH
|
||||||
|
IRCTEST_POSTGRESQL_URL=postgresql:// PATH=$GITHUB_WORKSPACE/sable/target/debug/sbin:$GITHUB_WORKSPACE/sable/target/debug/bin:$GITHUB_WORKSPACE/sable/target/debug:$PATH
|
||||||
make sable
|
make sable
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
- if: always()
|
- if: always()
|
||||||
|
@ -268,6 +268,9 @@ software:
|
|||||||
workspaces: "sable -> target"
|
workspaces: "sable -> target"
|
||||||
cache-on-failure: true
|
cache-on-failure: true
|
||||||
- run: rustc --version
|
- run: rustc --version
|
||||||
|
- run: start postgresql
|
||||||
|
run: "sudo systemctl start postgresql.service"
|
||||||
|
env: "IRCTEST_POSTGRESQL_URL=postgresql://"
|
||||||
separate_build_job: false
|
separate_build_job: false
|
||||||
build_script: |
|
build_script: |
|
||||||
cd $GITHUB_WORKSPACE/sable/
|
cd $GITHUB_WORKSPACE/sable/
|
||||||
|
Reference in New Issue
Block a user