diff --git a/.github/workflows/test-devel.yml b/.github/workflows/test-devel.yml index 41203ef..680e3e3 100644 --- a/.github/workflows/test-devel.yml +++ b/.github/workflows/test-devel.yml @@ -990,6 +990,7 @@ jobs: cache-on-failure: true workspaces: sable -> target - run: rustc --version + - run: sudo systemctl start postgresql.service - name: Build Sable run: | cd $GITHUB_WORKSPACE/sable/ @@ -1003,7 +1004,8 @@ jobs: - env: IRCTEST_DEBUG_LOGS: ${{ runner.debug }} 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 timeout-minutes: 30 - if: always() diff --git a/.github/workflows/test-stable.yml b/.github/workflows/test-stable.yml index 8188186..2987c85 100644 --- a/.github/workflows/test-stable.yml +++ b/.github/workflows/test-stable.yml @@ -1154,6 +1154,7 @@ jobs: cache-on-failure: true workspaces: sable -> target - run: rustc --version + - run: sudo systemctl start postgresql.service - name: Build Sable run: | cd $GITHUB_WORKSPACE/sable/ @@ -1167,7 +1168,8 @@ jobs: - env: IRCTEST_DEBUG_LOGS: ${{ runner.debug }} 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 timeout-minutes: 30 - if: always() diff --git a/workflows.yml b/workflows.yml index a7d129c..cf257d7 100644 --- a/workflows.yml +++ b/workflows.yml @@ -268,6 +268,9 @@ software: workspaces: "sable -> target" cache-on-failure: true - run: rustc --version + - run: start postgresql + run: "sudo systemctl start postgresql.service" + env: "IRCTEST_POSTGRESQL_URL=postgresql://" separate_build_job: false build_script: | cd $GITHUB_WORKSPACE/sable/