Is there a node for Kubernetes itself? #979 #624
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: Run tests | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- ".github/workflows/test.yml" | |
- "pyproject.toml" | |
- "poetry.lock" | |
- "**.py" | |
pull_request: | |
branches: | |
- master | |
paths: | |
- ".github/workflows/test.yml" | |
- "pyproject.toml" | |
- "poetry.lock" | |
- "**.py" | |
jobs: | |
test: | |
strategy: | |
matrix: | |
python: ["3.9", "3.10", "3.11", "3.12", "3.13"] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Setup Graphviz | |
uses: ts-graphviz/setup-graphviz@v2 | |
- name: Install poetry | |
run: curl -sSL https://install.python-poetry.org | python3 - | |
- name: Run all tests | |
run: | | |
poetry install | |
poetry run python -m unittest -v tests/*.py |