Various changes to get all pytest running GREEN #26
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: Maestro Check Schema | |
on: | |
push: | |
branches: [ 'main' ] | |
paths: | |
- 'maestro/**' | |
pull_request: | |
branches: [ 'main' ] | |
paths: | |
- 'maestro/**' | |
jobs: | |
check-schema: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Setup poetry | |
run: | | |
pipx ensurepath | |
echo "$HOME/.local/bin" >> "$GITHUB_PATH" | |
pipx install poetry | |
poetry self add poetry-plugin-shell | |
- name: Install dependencies | |
run: | | |
cd maestro | |
poetry install | |
- name: Check schema | |
# Run from root to capture all projects - but poetry needs to run in maestro to pick up environment above | |
run: | | |
cd maestro | |
poetry run tools/check-schemas.sh |