From f370a63fb24458772a14ed985c197a2bd22cd768 Mon Sep 17 00:00:00 2001 From: Chuck Daniels Date: Tue, 14 May 2024 08:07:40 -0400 Subject: [PATCH] Avoid poetry race condition build failure --- .github/workflows/integration-test.yml | 2 ++ .github/workflows/test.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index e7c2a76d..f4b3efd4 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -44,6 +44,8 @@ jobs: run: | poetry config virtualenvs.create true --local poetry config virtualenvs.in-project true --local + # Avoid race condition that can lead to ChefBuildError + poetry config installer.max-workers 1 --local poetry self add setuptools - name: Set up cache uses: actions/cache@v4 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ecf4722d..1e45ce24 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,6 +32,8 @@ jobs: run: | poetry config virtualenvs.create true --local poetry config virtualenvs.in-project true --local + # Avoid race condition that can lead to ChefBuildError + poetry config installer.max-workers 1 --local poetry self add setuptools - name: Set up cache uses: actions/cache@v4