Skip to content

Commit

Permalink
Fix poetry install errors (RasaHQ#12902)
Browse files Browse the repository at this point in the history
* poetry self add setuptools

* Test 2: Trigger CI

* Test 3: Trigger CI

* Test 4: Trigger CI

* Test 5: Trigger CI

* Test 6: Trigger CI

* Test 7: Trigger CI

* Test 8: Trigger CI

* Test 9: Trigger CI

* Test 10: Trigger CI
  • Loading branch information
ancalita authored Oct 11, 2023
1 parent c70507e commit 77f593f
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/continous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@ jobs:
with:
poetry-version: ${{ env.POETRY_VERSION }}

- name: Inject setuptools into poetry's runtime environment
if: needs.changes.outputs.backend == 'true'
run: |
poetry self add setuptools
- name: Load Poetry Cached Libraries ⬇
id: cache-poetry
if: needs.changes.outputs.backend == 'true'
Expand Down Expand Up @@ -163,7 +168,7 @@ jobs:
# This is a workaround for that issue
run: |
sudo apt-get -y install libpq-dev
make install-full || make install-full || make install-full
make install-full
- name: Checkout target branch to be able to diff
if: needs.changes.outputs.backend == 'true' && github.event_name == 'pull_request'
Expand Down Expand Up @@ -277,6 +282,11 @@ jobs:
with:
poetry-version: ${{ env.POETRY_VERSION }}

- name: Inject setuptools into poetry's runtime environment
if: needs.changes.outputs.backend == 'true'
run: |
poetry self add setuptools
- name: Load Poetry Cached Libraries ⬇
id: cache-poetry
if: needs.changes.outputs.backend == 'true'
Expand Down Expand Up @@ -311,7 +321,7 @@ jobs:
# This is a workaround for that issue
run: |
sudo apt-get -y install libpq-dev
make install-full | tee .output || make install-full | tee .output || make install-full | tee .output
make install-full | tee .output
if grep 'The lock file is not up to date' .output; then exit 1; fi
make prepare-tests-ubuntu
Expand All @@ -330,7 +340,7 @@ jobs:
Remove-Item -Force -Recurse $spacy_data_dir
New-Item -Path $spacy_data_dir -Type Directory
}
make install-full || make install-full || make install-full
make install-full
make prepare-tests-windows-gha
- name: Add github workflow problem matchers
Expand Down Expand Up @@ -427,6 +437,11 @@ jobs:
with:
poetry-version: ${{ env.POETRY_VERSION }}

- name: Inject setuptools into poetry's runtime environment
if: needs.changes.outputs.backend == 'true'
run: |
poetry self add setuptools
- name: Load Poetry Cached Libraries ⬇
id: cache-poetry
if: needs.changes.outputs.backend == 'true'
Expand Down

0 comments on commit 77f593f

Please sign in to comment.