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 5
5
steps :
6
6
- name : Install project tools and dependencies
7
7
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:
71
71
- name : Install Python ${{ matrix.python-version }}
72
72
uses : actions/setup-python@v5
73
73
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
76
77
run : |
77
78
pip install poetry
78
79
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
84
84
- name : Lint
85
85
working-directory : ./sdk-repo-updated
86
- run : make lint
86
+ run : |
87
+ . .venv/bin/activate
88
+ make lint
87
89
- name : Test
88
90
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 64
64
GH_REPO : " stackitcloud/stackit-sdk-python"
65
65
GH_TOKEN : ${{ secrets.SDK_PR_TOKEN }}
66
66
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
67
73
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 }})" "git@github.com:stackitcloud/stackit-sdk-python.git" "python"
You can’t perform that action at this time.
0 commit comments