Skip to content

Commit

Permalink
Avoid poetry race condition build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckwondo committed May 14, 2024
1 parent 1bb4831 commit f370a63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f370a63

Please sign in to comment.