You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by bo...@apache.org on 2023/08/26 06:22:40 UTC

[streampipes] branch fix/workflow created (now 2f8b7850b)

This is an automated email from the ASF dual-hosted git repository.

bossenti pushed a change to branch fix/workflow
in repository https://gitbox.apache.org/repos/asf/streampipes.git


      at 2f8b7850b ci: add missing poetry statement & correct action parameter

This branch includes the following new commits:

     new 2f8b7850b ci: add missing poetry statement & correct action parameter

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[streampipes] 01/01: ci: add missing poetry statement & correct action parameter

Posted by bo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bossenti pushed a commit to branch fix/workflow
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit 2f8b7850b56cc4e7bacb49fa3de1443afed6f73b
Author: bossenti <bo...@posteo.de>
AuthorDate: Sat Aug 26 08:22:31 2023 +0200

    ci: add missing poetry statement & correct action parameter
---
 .github/workflows/pr-validation.yml | 8 ++++----
 .github/workflows/python-docs.yml   | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml
index 39344b359..c44a0daf8 100644
--- a/.github/workflows/pr-validation.yml
+++ b/.github/workflows/pr-validation.yml
@@ -123,8 +123,8 @@ jobs:
         uses: snok/install-poetry@v1
         with:
           version: 1.5.1
-          in-project: true
-          prefer-active-python: true
+          virtualenvs-create: true
+          virtualenvs-in-project: true
 
       - name: Install Python dependencies
         working-directory: ./streampipes-client-python
@@ -187,8 +187,8 @@ jobs:
         uses: snok/install-poetry@v1
         with:
           version: 1.5.1
-          in-project: true
-          prefer-active-python: true
+          virtualenvs-create: true
+          virtualenvs-in-project: true
 
       - name: Install Python dependencies
         working-directory: ./streampipes-client-python
diff --git a/.github/workflows/python-docs.yml b/.github/workflows/python-docs.yml
index b570024bc..529b21d38 100644
--- a/.github/workflows/python-docs.yml
+++ b/.github/workflows/python-docs.yml
@@ -41,9 +41,9 @@ jobs:
       - name: Install and configure Poetry
         uses: snok/install-poetry@v1
         with:
-          version: 1.5.1
-          in-project: true
-          prefer-active-python: true
+          version: 1.6.1
+          virtualenvs-create: true
+          virtualenvs-in-project: true
 
       - name: Cache Python dependencies
         uses: actions/cache@v3
@@ -60,7 +60,7 @@ jobs:
       - name: Build Python docs
         working-directory: ./streampipes-client-python
         run: |
-          mike deploy dev -u --deploy-prefix ./streampipes-client-python/docs-tmp -b build-python-docs-${{ github.run_id }}
+          poetry run mike deploy dev -u --deploy-prefix ./streampipes-client-python/docs-tmp -b build-python-docs-${{ github.run_id }}
           git reset --hard  # undo local changes that delete generated doc files
 
       - name: Publish Python docs as artifact