chore(chart): Bump chart #2
This file contains hidden or 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
| name: CI | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.x | |
| - uses: astral-sh/setup-uv@v5 | |
| with: | |
| version: "0.7.2" | |
| enable-cache: true | |
| cache-dependency-glob: "uv.lock" | |
| - run: uv venv | |
| - name: Install dependencies | |
| run: uv pip install -r requirements-test.txt | |
| - name: Run tests | |
| run: uv run pytest tests/ | |
| # - name: Debug Kubernetes resources | |
| # if: always() | |
| # run: | | |
| # kubectl get locustest -A | |
| # kubectl get all -A | |
| chart-lint-and-install: | |
| name: Chart / Lint and Install | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.x | |
| - name: Set up Helm | |
| uses: azure/setup-helm@v4.2.0 | |
| - name: Set up Helm Chart Testing | |
| uses: helm/chart-testing-action@v2.7.0 | |
| - name: Create k8s Kind Cluster | |
| uses: helm/kind-action@v1.12.0 | |
| - name: Lint and Install chart | |
| run: ct lint-and-install --config .ct.yaml |