From 9a45ca798dded7ef216e36aae7827f441322fc5d Mon Sep 17 00:00:00 2001 From: Diego Hurtado Date: Tue, 2 Jul 2024 18:04:13 -0600 Subject: [PATCH 1/2] Do not run benchmark tests in CI Fixes #4018 --- .github/workflows/test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 696232b555..f70b22765a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -93,8 +93,7 @@ jobs: if: ${{ matrix.os == 'windows-2019'}} run: git config --system core.longpaths true - name: run tox - run: tox -f ${{ matrix.python-version }}-${{ matrix.package }} -- -ra --benchmark-json=${{ - env.RUN_MATRIX_COMBINATION }}-benchmark.json + run: tox -f ${{ matrix.python-version }}-${{ matrix.package }} -- -ra misc: strategy: fail-fast: false From 28997274229ea740f11e0d3e0abbaf4fa715c091 Mon Sep 17 00:00:00 2001 From: Diego Hurtado Date: Tue, 2 Jul 2024 18:34:39 -0600 Subject: [PATCH 2/2] Skip benchmarks --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f70b22765a..e20e32c1ba 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -93,7 +93,7 @@ jobs: if: ${{ matrix.os == 'windows-2019'}} run: git config --system core.longpaths true - name: run tox - run: tox -f ${{ matrix.python-version }}-${{ matrix.package }} -- -ra + run: tox -f ${{ matrix.python-version }}-${{ matrix.package }} -- -ra --benchmark-skip misc: strategy: fail-fast: false @@ -213,4 +213,4 @@ jobs: key: v3-tox-cache-${{ matrix.python-version }}-${{ matrix.package }}-${{ matrix.os }}-${{ hashFiles('tox.ini', 'dev-requirements.txt') }}-contrib - name: run tox - run: tox -f ${{ matrix.python-version }}-${{ matrix.package }} -- -ra + run: tox -f ${{ matrix.python-version }}-${{ matrix.package }} -- -ra --benchmark-skip