From 2c01c496afcaa8c4f31f73e8895ab2151e7994fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Ho=CC=88nicke?= Date: Sun, 30 Apr 2023 22:23:16 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA=20test:=20level=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 6 +++--- .test_durations | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d06be3c..b81c1bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,12 +5,12 @@ on: pull_request: jobs: - test: + test level: runs-on: ubuntu-latest strategy: fail-fast: false matrix: - group: [1, 2, 3] + group: [0, 1, 2] steps: - uses: actions/checkout@v2 - name: Set up Python 3.8 @@ -27,7 +27,7 @@ jobs: - name: Test id: test run: | - pytest -v -s -m "not gpu" --splits 3 --group ${{ matrix.group }} --splitting-algorithm least_duration test/ + pytest -vs test/test_generator::test_generation_level_${{ matrix.group }} timeout-minutes: 10 env: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} diff --git a/.test_durations b/.test_durations index 9ee8723..313ea55 100644 --- a/.test_durations +++ b/.test_durations @@ -2,8 +2,6 @@ "test/test_generator.py::test_generation_level_0": 100, "test/test_generator.py::test_generation_level_1": 100, "test/test_generator.py::test_generation_level_2": 100, - "test/test_generator.py::test_generation_level_3": 100, - "test/test_generator.py::test_generation_level_4": 100, "test/test_hub.py::test_is_microservice_in_hub": 1, "test/test_strings.py::test_clean_color_codes": 1 } \ No newline at end of file