From 6d94d2d169e1bb2d7e85ea65a64920e459f49ef6 Mon Sep 17 00:00:00 2001 From: Adrian Zawadzki Date: Fri, 21 Nov 2025 21:48:29 +0100 Subject: [PATCH] added stress tests for pipeline --- .github/workflows/build-and-test.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 1e27a2f7..ec80ad75 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -69,4 +69,32 @@ jobs: - name: Run tests run: | python -m pytest -m 'not integration_test' -m 'not stress_test' -c pytest.ini --capture=no -vv + stress-tests-wheels-linux: + runs-on: ubuntu-latest + timeout-minutes: 15 + needs: build-linux + strategy: + fail-fast: false + matrix: + python-version: ["3.12"] + + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + - name: Download wheel artifact + uses: actions/download-artifact@v4 + with: + name: wheels-linux-${{ matrix.python-version }} + path: ./wheels/ + - name: Install wheel and dependencies + run: | + pip install pytest + pip install -r requirements.txt + pip install ./wheels/*.whl + - name: Run tests + run: | + python3 -m pytest -m 'stress_test' -c pytest.ini --capture=no -vv -s