CI: Update python version + script (#2521)

Ensure we're on the latest versions CI actions + python (except lint check, due to issue)
Also allow running the Microk8s tests on demand with workflow dispatch
This commit is contained in:
Ilya Kreymer 2025-03-26 12:53:18 -07:00 committed by GitHub
parent b3950dd03f
commit 0925da6768
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 11 additions and 9 deletions

View File

@ -46,9 +46,9 @@ jobs:
fetch-depth: 0 # needed for progressive mode to work
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.x'
- name: Install dependencies
run: |

View File

@ -43,7 +43,7 @@ jobs:
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'

View File

@ -46,7 +46,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.x"
cache: "poetry"
- name: Install vault decryption dependencies

View File

@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: pip install mkdocs-material mkdocs-redirects requests pyyaml

View File

@ -84,9 +84,9 @@ jobs:
helm upgrade --install -f ./chart/values.yaml -f ./chart/test/test.yaml -f ./chart/test/test-nightly-addons.yaml btrix ./chart/
- name: Install Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.x'
- name: Install Python Libs
run: pip install -r ./backend/test-requirements.txt

View File

@ -7,6 +7,8 @@ on:
paths:
- 'backend/**'
- 'chart/**'
- '.github/workflows/microk8s-ci.yaml'
workflow_dispatch:
env:
ECHO_SERVER_HOST_URL: http://10.0.1.1:18080
@ -56,9 +58,9 @@ jobs:
sudo microk8s helm3 upgrade --install -f ./chart/values.yaml -f ./chart/test/test.yaml -f ./chart/test/microk8s-ci.yaml btrix ./chart/
- name: Install Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.x'
- name: Install Python Libs
run: pip install -r ./backend/test-requirements.txt