From 33229381c7bfc1a0908fb3267a79b53fc395df86 Mon Sep 17 00:00:00 2001 From: David Date: Wed, 2 Oct 2024 02:52:15 +0200 Subject: [PATCH] ci: use dynamic total job --- .github/workflows/server-tests-mariadb.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/server-tests-mariadb.yml b/.github/workflows/server-tests-mariadb.yml index 67f58564342..7bef248535c 100644 --- a/.github/workflows/server-tests-mariadb.yml +++ b/.github/workflows/server-tests-mariadb.yml @@ -120,7 +120,7 @@ jobs: FRAPPE_BRANCH: ${{ github.event.inputs.branch }} - name: Run Tests - run: 'cd ~/frappe-bench/ && bench --site test_site run-parallel-tests --app erpnext --total-builds 4 --build-number ${{ matrix.container }}' + run: 'cd ~/frappe-bench/ && bench --site test_site run-parallel-tests --app erpnext --total-builds ${{ strategy.job-total }} --build-number ${{ matrix.container }}' env: TYPE: server CAPTURE_COVERAGE: ${{ github.event_name != 'pull_request' }}