File tree Expand file tree Collapse file tree 3 files changed +24
-10
lines changed Expand file tree Collapse file tree 3 files changed +24
-10
lines changed Original file line number Diff line number Diff line change 55 steps :
66 - name : Install project tools and dependencies
77 shell : bash
8- run : make project-tools LANGUAGE=python
8+ run : |
9+ python -m venv .venv
10+ . .venv/bin/activate
11+ python -m pip install --upgrade pip
12+ make project-tools LANGUAGE=python
Original file line number Diff line number Diff line change @@ -71,19 +71,23 @@ jobs:
7171 - name : Install Python ${{ matrix.python-version }}
7272 uses : actions/setup-python@v5
7373 with :
74- python-version : ${{ matrix.python-version }}
75- - name : Install core
74+ python-version : ${{ matrix.python-version }}
75+ - name : Install sdk
76+ working-directory : ./sdk-repo-updated
7677 run : |
7778 pip install poetry
7879 poetry config virtualenvs.create false
79- git clone https://github.com/stackitcloud/stackit-sdk-python-core.git core
80- cd core;make install;
81- - name : Install sdk
82- working-directory : ./sdk-repo-updated
83- run : make install-dev
80+ python -m venv .venv
81+ . .venv/bin/activate
82+ python -m pip install --upgrade pip
83+ make install-dev
8484 - name : Lint
8585 working-directory : ./sdk-repo-updated
86- run : make lint
86+ run : |
87+ . .venv/bin/activate
88+ make lint
8789 - name : Test
8890 working-directory : ./sdk-repo-updated
89- run : make test
91+ run : |
92+ . .venv/bin/activate
93+ make test
Original file line number Diff line number Diff line change 6464 GH_REPO : " stackitcloud/stackit-sdk-python"
6565 GH_TOKEN : ${{ secrets.SDK_PR_TOKEN }}
6666 run : |
67+ set -e
68+ python -m venv .venv
69+ . .venv/bin/activate
70+ python -m pip install --upgrade pip
71+ pip install poetry
72+ poetry config virtualenvs.create false
6773 scripts/sdk-create-pr.sh "generator-bot-${{ github.run_id }}" "Generated from GitHub run [${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})" "[email protected] :stackitcloud/stackit-sdk-python.git" "python"
You can’t perform that action at this time.
0 commit comments