krakenw: Fix using default installer and no longer show warning of corrupted Venv when there's none at all #820
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow is used to validate if the current version of kraken-core and kraken-std work without | |
# errors to build the kraken-std project. When some larger changes are being made to these two components, | |
# such as one that causes a breaking API change for the kraken-std build script, this workflow may need | |
# to be temporarily disabled. | |
name: "Selftest" | |
on: | |
push: { branches: [ "develop" ], tags: [ "*" ] } | |
pull_request: { branches: [ "*" ] } | |
env: | |
COLUMNS: 200 | |
jobs: | |
selftest: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- python-version: "3.10" | |
- python-version: "3.11" | |
- python-version: "3.12" | |
- python-version: "3.x" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: NiklasRosenstein/slap@gha/install/v1 | |
- uses: actions/setup-python@v5 | |
with: { python-version: "${{ matrix.python-version }}" } | |
- run: pip install pipx && pipx install poetry && pipx install pdm | |
- run: rustup update | |
- name: Restore cache | |
uses: actions/cache/restore@v4 | |
with: | |
path: | | |
build | |
.venvs | |
key: build-cache:${{ runner.os }}:selftest | |
- run: slap install --link --no-venv-check ${{ matrix.only }} | |
- run: kraken run python.install fmt lint test -vv | |
- run: kraken q ls | |
- run: kraken q tree | |
- run: kraken q viz | |
- run: kraken q d python.mypy | |
- name: Save cache | |
uses: actions/cache/save@v4 | |
with: | |
path: | | |
build | |
.venvs | |
key: build-cache:${{ runner.os }}:selftest | |
uv-installer: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: NiklasRosenstein/slap@gha/install/v1 | |
- run: slap install --link --no-venv-check | |
- run: krakenw --reinstall --use=UV | |
- run: krakenw run fmt lint | |
examples-docker-manual: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- python-version: "3.10" | |
- python-version: "3.11" | |
- python-version: "3.12" | |
- python-version: "3.x" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: NiklasRosenstein/slap@gha/install/v1 | |
- uses: actions/setup-python@v5 | |
with: { python-version: "${{ matrix.python-version }}" } | |
- run: slap install --link --no-venv-check ${{ matrix.only }} | |
- run: cd examples/docker-manual && kraken run :dockerBuild :sub:helloWorld |