From 57cfa63fb6231bd0d698617f2961298094588a8d Mon Sep 17 00:00:00 2001 From: PProfizi Date: Tue, 18 Mar 2025 18:14:00 +0100 Subject: [PATCH 1/2] Remove test-api_entry from parallel tox test environments --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 1e352c01e4..ade6eba8c1 100644 --- a/tox.ini +++ b/tox.ini @@ -32,9 +32,9 @@ description = Default tox environment list and core configurations envlist = pretest,test-{api,launcher,server,local_server,multi_server,api_entry,custom_type_field,operators,workflow,remote_workflow,remote_operator,service},posttest,kill-servers labels = - localparalleltests = pretest,test-{api,launcher,server,local_server,multi_server,api_entry,custom_type_field,operators},posttest,kill-servers + localparalleltests = pretest,test-{api,launcher,server,local_server,multi_server,custom_type_field,operators},posttest,kill-servers othertests = pretest,test-{workflow,remote_workflow,remote_operator,service},posttest,kill-servers - ciparalleltests = test-{api,launcher,local_server,multi_server,api_entry,custom_type_field,operators},kill-servers + ciparalleltests = test-{api,launcher,local_server,multi_server,custom_type_field,operators},kill-servers isolated_build_env = build From 2dacfcd5c15e762fa9a7f1a0d56019ed14cd0027 Mon Sep 17 00:00:00 2001 From: PProfizi Date: Tue, 18 Mar 2025 18:15:27 +0100 Subject: [PATCH 2/2] Run entry tests first --- .github/workflows/tests.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e1c97883ca..3d0da63bfd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -241,6 +241,15 @@ jobs: run: | tox -e pretest + - name: "Test API test_entry" + uses: nick-fields/retry@v3 + with: + timeout_minutes: 10 + max_attempts: 2 + shell: bash + command: | + tox -e test-api_entry,kill-servers ${{ steps.tox-cli-arguments.outputs.TOX_EXTRA_ARG }} + - name: "Run compatible tests in parallel" uses: nick-fields/retry@v3 with: