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/01/16 20:20:23 UTC
[streampipes] 02/02: pin python versions for dev and docs
This is an automated email from the ASF dual-hosted git repository.
bossenti pushed a commit to branch chore/add-example
in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit 6d0b5b85b2ad1423e9a7d9ef1df290ef42c3d16c
Author: bossenti <bo...@posteo.de>
AuthorDate: Mon Jan 16 21:08:30 2023 +0100
pin python versions for dev and docs
---
.github/workflows/pr-validation.yml | 33 ++++++++++++++++++++++++++++++++-
1 file changed, 32 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml
index 07ace7096..a6f452538 100644
--- a/.github/workflows/pr-validation.yml
+++ b/.github/workflows/pr-validation.yml
@@ -171,4 +171,35 @@ jobs:
- name: Run unit-tests
run: |
cd ./streampipes-client-python
- make unit-tests
\ No newline at end of file
+ make unit-tests
+
+
+ python-doc-checks:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: Set up Python
+ uses: actions/setup-python@v2
+ with:
+ python-version: 3.8
+
+ - name: Cache Python dependencies
+ uses: actions/cache@v2
+ with:
+ path: ~/.cache/pip
+ key: ${{ runner.os }}-pip${{ hashFiles('**/setup.py') }}
+ restore-keys: |
+ ${{ runner.os }}-pip-
+
+ - name: Install Python dependencies
+ run: |
+ cd ./streampipes-client-python
+ python -m pip install --upgrade pip
+ pip install wheel
+ pip install -e ".[docs]"
+
+ - name: Build MkDocs
+ run: |
+ cd ./streampipes-client-python
+ make doc
\ No newline at end of file