Skip to content

Move commandline interface to typer #539

Move commandline interface to typer

Move commandline interface to typer #539

---
name: CI-Config-Functions
on:
push:
branches:
- "main"
paths:
- "kiwi/config/functions.sh"
- ".github/workflows/**"
- "test/scripts/**"
- "pyproject.toml"
pull_request:
paths:
# copy-pasta from the above because workflows don't support anchors :-(
- "kiwi/config/functions.sh"
- ".github/workflows/**"
- "test/scripts/**"
- "pyproject.toml"
jobs:
scripts_integration_tests:
name: Integration tests for config/functions.sh
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [3.11]
container_runtime:
- PODMAN
steps:
- uses: actions/checkout@v3
- name: Python${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
python -m pip install --upgrade pip
python -m pip install poetry
sudo python -m pip install pytest-container
- name: Run the scripts integration tests
run: make test_scripts
env:
CONTAINER_RUNTIME: ${{ matrix.container_runtime }}