Skip to content
8 changes: 1 addition & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install core
run: |
pip install poetry
poetry config virtualenvs.create false
git clone https://github.com/stackitcloud/stackit-sdk-python-core.git core
cd core;make install;
- name: Install sdk
- name: Install sdk and core
working-directory: ./sdk-repo-updated
run: make install-dev
- name: Lint
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sdk-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,6 @@ jobs:
GH_REPO: "stackitcloud/stackit-sdk-python"
GH_TOKEN: ${{ secrets.SDK_PR_TOKEN }}
run: |
pip install poetry
pip install flake8
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"
4 changes: 3 additions & 1 deletion scripts/project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ elif [ "$action" = "tools" ]; then
if [ "${LANGUAGE}" == "go" ]; then
go install golang.org/x/tools/cmd/goimports@latest
elif [ "${LANGUAGE}" == "python" ]; then
pip install black==24.8.0 isort~=5.13.2 autoimport~=1.6.1
pip install black==24.8.0 isort~=5.13.2 autoimport~=1.6.1 flake8
pip install poetry
poetry config virtualenvs.create false
else
echo "! Invalid language: $($LANGUAGE), please use $0 help for help"
fi
Expand Down
Loading