From 622527ea120da874d334734e405c31ad16748a62 Mon Sep 17 00:00:00 2001 From: Val Lorentz Date: Sun, 8 Dec 2024 21:46:16 +0100 Subject: [PATCH] Enable debug logs --- .github/workflows/test-devel.yml | 2 +- .github/workflows/test-stable.yml | 2 +- workflows.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-devel.yml b/.github/workflows/test-devel.yml index 680e3e3..55246c6 100644 --- a/.github/workflows/test-devel.yml +++ b/.github/workflows/test-devel.yml @@ -1005,7 +1005,7 @@ jobs: IRCTEST_DEBUG_LOGS: ${{ runner.debug }} name: Test with pytest 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 + IRCTEST_POSTGRESQL_URL=postgresql:// IRCTEST_DEBUG_LOGS=1 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 9bc70d6..9016106 100644 --- a/.github/workflows/test-stable.yml +++ b/.github/workflows/test-stable.yml @@ -1169,7 +1169,7 @@ jobs: IRCTEST_DEBUG_LOGS: ${{ runner.debug }} name: Test with pytest 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 + IRCTEST_POSTGRESQL_URL=postgresql:// IRCTEST_DEBUG_LOGS=1 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 e3eaedb..be8830b 100644 --- a/workflows.yml +++ b/workflows.yml @@ -270,7 +270,7 @@ software: - run: rustc --version - run: start postgresql run: "sudo systemctl start postgresql.service" - env: "IRCTEST_POSTGRESQL_URL=postgresql://" + env: "IRCTEST_POSTGRESQL_URL=postgresql:// IRCTEST_DEBUG_LOGS=1" separate_build_job: false build_script: | cd $GITHUB_WORKSPACE/sable/