1
0
Fork 0

Add improved output formatting and new manual test workflows

- Added blank lines before specific print statements in E2E test scripts for better readability.
- Enabled `workflow_dispatch` in `.github/workflows/build.yml` to allow manual triggering of workflows.
- Added separate jobs for running Docker Compose and Kubernetes E2E tests in CI pipeline.
This commit is contained in:
Joao Gilberto Magalhaes 2026-02-12 18:07:01 -05:00
parent f463020e3e
commit 0a400b976c
3 changed files with 54 additions and 1 deletions

View file

@ -9,6 +9,7 @@ on:
tags: [ '*.*.*' ]
pull_request:
branches: [ master ]
workflow_dispatch: # Allow manual trigger
env:
# github.repository as <account>/<repo>
@ -39,6 +40,54 @@ jobs:
export PATH="$HOME/.local/bin:$PATH"
uv run pytest -s tests/ -vv
Tests-E2E-Docker:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
timeout-minutes: 20
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Install dependencies
run: |
export PATH="$HOME/.local/bin:$PATH"
uv sync --group dev
- name: Run Docker Compose E2E tests
run: |
export PATH="$HOME/.local/bin:$PATH"
uv run pytest tests_e2e/test_docker_compose.py -v
Tests-E2E-Kubernetes:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
timeout-minutes: 30
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Install dependencies
run: |
export PATH="$HOME/.local/bin:$PATH"
uv sync --group dev
- name: Run Kubernetes E2E tests
run: |
export PATH="$HOME/.local/bin:$PATH"
uv run pytest tests_e2e/test_kubernetes.py -v
Build:
runs-on: ubuntu-latest
needs: Test