From c8b8c13861cb5d95e08db1aa97d20305ab795275 Mon Sep 17 00:00:00 2001 From: Rob Davis Date: Tue, 17 Sep 2024 15:51:03 +0100 Subject: [PATCH 1/4] update workflow --- .github/workflows/test_full.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test_full.yml b/.github/workflows/test_full.yml index 97d13280..8b71081a 100644 --- a/.github/workflows/test_full.yml +++ b/.github/workflows/test_full.yml @@ -30,16 +30,19 @@ jobs: run: | python -m pip install -U pip pip install -r prereq.txt - - name: Test Core - slow part one - timeout-minutes: 1000 + - name: Limit OpenMP threads run: | - pip install .[testing] - pytest -vvvs --durations=50 -m "slow_1" - - name: Test Core - slow part two - timeout-minutes: 1000 + echo "OMP_NUM_THREADS=2" >> $GITHUB_ENV + - name: Test Core - slow + # timeout-minutes: 1000 run: | pip install .[testing] - pytest -vvvs --durations=50 -m "slow_2" + pytest -vvvs --durations=50 -m "slow" + # - name: Test Core - slow part two + # timeout-minutes: 1000 + # run: | + # pip install .[testing] + # pytest -vvvs --durations=50 -m "slow_2" - name: Test Core - fast timeout-minutes: 1000 run: | From 8dda6401f7c4f683bdc7400dbfcb9926decde205 Mon Sep 17 00:00:00 2001 From: Rob Davis Date: Tue, 17 Sep 2024 15:56:43 +0100 Subject: [PATCH 2/4] temporarily suppress short tests --- .github/workflows/test_pr.yml | 4 ++-- .github/workflows/test_tutorials.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_pr.yml b/.github/workflows/test_pr.yml index cf073628..37cb34a6 100644 --- a/.github/workflows/test_pr.yml +++ b/.github/workflows/test_pr.yml @@ -3,8 +3,8 @@ name: Tests Fast Python on: push: branches: [main, release] - pull_request: - types: [opened, synchronize, reopened] + # pull_request: + # types: [opened, synchronize, reopened] workflow_dispatch: jobs: diff --git a/.github/workflows/test_tutorials.yml b/.github/workflows/test_tutorials.yml index 1b1a6587..e27238e9 100644 --- a/.github/workflows/test_tutorials.yml +++ b/.github/workflows/test_tutorials.yml @@ -3,8 +3,8 @@ name: PR Tutorials on: push: branches: [main, release] - pull_request: - types: [opened, synchronize, reopened] + # pull_request: + # types: [opened, synchronize, reopened] schedule: - cron: "2 3 * * 4" workflow_dispatch: From cb591804131aed503548a0155fd4175d712ed520 Mon Sep 17 00:00:00 2001 From: Rob Davis Date: Tue, 17 Sep 2024 23:43:13 +0100 Subject: [PATCH 3/4] temporarily suppress short tests --- .github/workflows/test_full.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test_full.yml b/.github/workflows/test_full.yml index 8b71081a..26571612 100644 --- a/.github/workflows/test_full.yml +++ b/.github/workflows/test_full.yml @@ -33,18 +33,15 @@ jobs: - name: Limit OpenMP threads run: | echo "OMP_NUM_THREADS=2" >> $GITHUB_ENV - - name: Test Core - slow - # timeout-minutes: 1000 + - name: Test Core - slow part one run: | pip install .[testing] - pytest -vvvs --durations=50 -m "slow" - # - name: Test Core - slow part two - # timeout-minutes: 1000 - # run: | - # pip install .[testing] - # pytest -vvvs --durations=50 -m "slow_2" + pytest -vvvs --durations=50 -m "slow_1" + - name: Test Core - slow part two + run: | + pip install .[testing] + pytest -vvvs --durations=50 -m "slow_2" - name: Test Core - fast - timeout-minutes: 1000 run: | pip install .[testing] pytest -vvvs --durations=50 -m "not slow" From 38369499e9aa14a52b0dccfc9d7e284dfdf3fff5 Mon Sep 17 00:00:00 2001 From: gkr-bot Date: Tue, 7 Jan 2025 17:37:29 +0000 Subject: [PATCH 4/4] Automated commit by Keepalive Workflow to keep the repository active