From 8d8f685ae06889d10cfb2c4dae261f8fca83287d Mon Sep 17 00:00:00 2001 From: David Date: Wed, 2 Oct 2024 02:56:30 +0200 Subject: [PATCH] ci: use dynamic total job --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f8b83f44e0..ddfa0fd4d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,7 +109,7 @@ jobs: BRANCH_TO_CLONE: ${{ env.HR_BRANCH }} - name: Run Tests - run: cd ~/frappe-bench/ && bench --site test_site run-parallel-tests --app hrms --total-builds 2 --build-number ${{ matrix.container }} + run: cd ~/frappe-bench/ && bench --site test_site run-parallel-tests --app hrms --total-builds ${{ strategy.job-total }} --build-number ${{ matrix.container }} env: TYPE: server CAPTURE_COVERAGE: ${{ github.event_name != 'pull_request' }} @@ -138,4 +138,4 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true - verbose: true \ No newline at end of file + verbose: true