From 4f1a84b5a8cbcb4fa09abe468fdc31e65bd3dd49 Mon Sep 17 00:00:00 2001 From: Val Lorentz Date: Sun, 24 Sep 2023 15:53:03 +0200 Subject: [PATCH] Increase per-test timeout --- .github/workflows/test-devel.yml | 46 +++++++++++----------- .github/workflows/test-devel_release.yml | 6 +-- .github/workflows/test-stable.yml | 50 ++++++++++++------------ make_workflows.py | 2 +- 4 files changed, 52 insertions(+), 52 deletions(-) diff --git a/.github/workflows/test-devel.yml b/.github/workflows/test-devel.yml index 4649b2e..d122210 100644 --- a/.github/workflows/test-devel.yml +++ b/.github/workflows/test-devel.yml @@ -459,7 +459,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH make bahamut timeout-minutes: 30 - if: always() @@ -498,7 +498,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH make bahamut-anope timeout-minutes: 30 - if: always() @@ -531,7 +531,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH make bahamut-atheme timeout-minutes: 30 - if: always() @@ -571,7 +571,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH PATH=~/go/sbin:~/go/bin:~/go:$PATH + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=~/go/sbin:~/go/bin:~/go:$PATH make ergo timeout-minutes: 30 - if: always() @@ -610,7 +610,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH make hybrid timeout-minutes: 30 - if: always() @@ -643,7 +643,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH PATH=~/.local/inspircd/sbin:~/.local/inspircd/bin:~/.local/inspircd:$PATH + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=~/.local/inspircd/sbin:~/.local/inspircd/bin:~/.local/inspircd:$PATH make inspircd timeout-minutes: 30 - if: always() @@ -682,7 +682,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH PATH=~/.local/inspircd/sbin:~/.local/inspircd/bin:~/.local/inspircd:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=~/.local/inspircd/sbin:~/.local/inspircd/bin:~/.local/inspircd:$PATH make inspircd-anope timeout-minutes: 30 - if: always() @@ -721,7 +721,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH make ircu2 timeout-minutes: 30 - if: always() @@ -749,7 +749,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH make limnoria timeout-minutes: 30 - if: always() @@ -787,7 +787,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH make nefarious timeout-minutes: 30 - if: always() @@ -820,7 +820,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH PATH=~/.local//sbin:~/.local//bin:~/.local/:$PATH + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=~/.local//sbin:~/.local//bin:~/.local/:$PATH make ngircd timeout-minutes: 30 - if: always() @@ -859,7 +859,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH PATH=~/.local//sbin:~/.local//bin:~/.local/:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=~/.local//sbin:~/.local//bin:~/.local/:$PATH make ngircd-anope timeout-minutes: 30 - if: always() @@ -892,7 +892,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH PATH=~/.local//sbin:~/.local//bin:~/.local/:$PATH + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=~/.local//sbin:~/.local//bin:~/.local/:$PATH make ngircd-atheme timeout-minutes: 30 - if: always() @@ -931,7 +931,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH make plexus4 timeout-minutes: 30 - if: always() @@ -978,7 +978,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' 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 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() @@ -1011,7 +1011,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH make solanum timeout-minutes: 30 - if: always() @@ -1038,7 +1038,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH make sopel timeout-minutes: 30 - if: always() @@ -1076,7 +1076,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH make thelounge timeout-minutes: 30 - if: always() @@ -1109,7 +1109,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH PATH=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:~/.local/unrealircd:$PATH + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:~/.local/unrealircd:$PATH make unrealircd timeout-minutes: 30 - if: always() @@ -1142,7 +1142,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH PATH=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:~/.local/unrealircd:$PATH + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:~/.local/unrealircd:$PATH make unrealircd-5 timeout-minutes: 30 - if: always() @@ -1181,7 +1181,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH PATH=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:~/.local/unrealircd:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:~/.local/unrealircd:$PATH make unrealircd-anope timeout-minutes: 30 - if: always() @@ -1214,7 +1214,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH PATH=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:~/.local/unrealircd:$PATH + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:~/.local/unrealircd:$PATH make unrealircd-atheme timeout-minutes: 30 - if: always() @@ -1258,7 +1258,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH PATH=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:~/.local/unrealircd:$PATH + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:~/.local/unrealircd:$PATH IRCTEST_DLK_PATH="${{ github.workspace }}/Dlk-Services" IRCTEST_WP_CLI_PATH="${{ github.workspace }}/wp-cli.phar" IRCTEST_WP_ZIP_PATH="${{ github.workspace }}/wordpress-latest.zip" make unrealircd-dlk diff --git a/.github/workflows/test-devel_release.yml b/.github/workflows/test-devel_release.yml index b903263..eba9ab4 100644 --- a/.github/workflows/test-devel_release.yml +++ b/.github/workflows/test-devel_release.yml @@ -132,7 +132,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH PATH=~/.local/inspircd/sbin:~/.local/inspircd/bin:~/.local/inspircd:$PATH + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=~/.local/inspircd/sbin:~/.local/inspircd/bin:~/.local/inspircd:$PATH make inspircd timeout-minutes: 30 - if: always() @@ -171,7 +171,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH PATH=~/.local/inspircd/sbin:~/.local/inspircd/bin:~/.local/inspircd:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=~/.local/inspircd/sbin:~/.local/inspircd/bin:~/.local/inspircd:$PATH make inspircd-anope timeout-minutes: 30 - if: always() @@ -204,7 +204,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH PATH=~/.local/inspircd/sbin:~/.local/inspircd/bin:~/.local/inspircd:$PATH + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=~/.local/inspircd/sbin:~/.local/inspircd/bin:~/.local/inspircd:$PATH make inspircd-atheme timeout-minutes: 30 - if: always() diff --git a/.github/workflows/test-stable.yml b/.github/workflows/test-stable.yml index 5ceca3b..3b5fda2 100644 --- a/.github/workflows/test-stable.yml +++ b/.github/workflows/test-stable.yml @@ -502,7 +502,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH make bahamut timeout-minutes: 30 - if: always() @@ -541,7 +541,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH make bahamut-anope timeout-minutes: 30 - if: always() @@ -574,7 +574,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH make bahamut-atheme timeout-minutes: 30 - if: always() @@ -607,7 +607,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH make charybdis timeout-minutes: 30 - if: always() @@ -647,7 +647,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH PATH=~/go/sbin:~/go/bin:~/go:$PATH + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=~/go/sbin:~/go/bin:~/go:$PATH make ergo timeout-minutes: 30 - if: always() @@ -686,7 +686,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH make hybrid timeout-minutes: 30 - if: always() @@ -719,7 +719,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH PATH=~/.local/inspircd/sbin:~/.local/inspircd/bin:~/.local/inspircd:$PATH + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=~/.local/inspircd/sbin:~/.local/inspircd/bin:~/.local/inspircd:$PATH make inspircd timeout-minutes: 30 - if: always() @@ -758,7 +758,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH PATH=~/.local/inspircd/sbin:~/.local/inspircd/bin:~/.local/inspircd:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=~/.local/inspircd/sbin:~/.local/inspircd/bin:~/.local/inspircd:$PATH make inspircd-anope timeout-minutes: 30 - if: always() @@ -791,7 +791,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH PATH=~/.local/inspircd/sbin:~/.local/inspircd/bin:~/.local/inspircd:$PATH + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=~/.local/inspircd/sbin:~/.local/inspircd/bin:~/.local/inspircd:$PATH make inspircd-atheme timeout-minutes: 30 - if: always() @@ -841,7 +841,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH make irc2 timeout-minutes: 30 - if: always() @@ -880,7 +880,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH make ircu2 timeout-minutes: 30 - if: always() @@ -907,7 +907,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH make limnoria timeout-minutes: 30 - if: always() @@ -945,7 +945,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH make nefarious timeout-minutes: 30 - if: always() @@ -978,7 +978,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH PATH=~/.local//sbin:~/.local//bin:~/.local/:$PATH + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=~/.local//sbin:~/.local//bin:~/.local/:$PATH make ngircd timeout-minutes: 30 - if: always() @@ -1017,7 +1017,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH PATH=~/.local//sbin:~/.local//bin:~/.local/:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=~/.local//sbin:~/.local//bin:~/.local/:$PATH make ngircd-anope timeout-minutes: 30 - if: always() @@ -1050,7 +1050,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH PATH=~/.local//sbin:~/.local//bin:~/.local/:$PATH + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=~/.local//sbin:~/.local//bin:~/.local/:$PATH make ngircd-atheme timeout-minutes: 30 - if: always() @@ -1089,7 +1089,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH make plexus4 timeout-minutes: 30 - if: always() @@ -1136,7 +1136,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' 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 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() @@ -1169,7 +1169,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH make solanum timeout-minutes: 30 - if: always() @@ -1196,7 +1196,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH make sopel timeout-minutes: 30 - if: always() @@ -1234,7 +1234,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH make thelounge timeout-minutes: 30 - if: always() @@ -1267,7 +1267,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH PATH=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:~/.local/unrealircd:$PATH + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:~/.local/unrealircd:$PATH make unrealircd timeout-minutes: 30 - if: always() @@ -1300,7 +1300,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH PATH=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:~/.local/unrealircd:$PATH + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:~/.local/unrealircd:$PATH make unrealircd-5 timeout-minutes: 30 - if: always() @@ -1339,7 +1339,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH PATH=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:~/.local/unrealircd:$PATH make + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:~/.local/unrealircd:$PATH make unrealircd-anope timeout-minutes: 30 - if: always() @@ -1372,7 +1372,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-xdist pytest-timeout -r requirements.txt - name: Test with pytest - run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' PATH=$HOME/.local/bin:$PATH PATH=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:~/.local/unrealircd:$PATH + run: PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' PATH=$HOME/.local/bin:$PATH PATH=~/.local/unrealircd/sbin:~/.local/unrealircd/bin:~/.local/unrealircd:$PATH make unrealircd-atheme timeout-minutes: 30 - if: always() diff --git a/make_workflows.py b/make_workflows.py index 377b483..d3837c4 100644 --- a/make_workflows.py +++ b/make_workflows.py @@ -224,7 +224,7 @@ def get_test_job(*, config, test_config, test_id, version_flavor, jobs): "name": "Test with pytest", "timeout-minutes": 30, "run": ( - f"PYTEST_ARGS='--junit-xml pytest.xml --timeout 60' " + f"PYTEST_ARGS='--junit-xml pytest.xml --timeout 300' " f"PATH=$HOME/.local/bin:$PATH " f"{env}make {test_id}" ),