feat/cluster health report (#2) #6
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
name: CI | |
on: [push] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
name: lint | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install poetry | |
run: pip install poetry | |
- name: Install project dependencies | |
run: poetry install --no-ansi --with=dev | |
- name: Lint | |
run: poetry run lint | |
- name: Check format | |
run: poetry run format_check | |
test: | |
runs-on: ubuntu-latest | |
name: test | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- run: docker compose -f docker-compose-test.yaml up test --exit-code-from test | |
- run: docker compose -f docker-compose-test.yaml down | |
- run: docker compose -f docker-compose-test.yaml up examples --exit-code-from examples |