docs: pixi build follow up (#2710) #63
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: Test Schema | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- "docs/**" | |
- "mkdocs.yml" | |
- "*.md" | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- "**/pixi.toml" | |
- "schema/**" | |
- "**/schema.yml" | |
jobs: | |
test-schema: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: prefix-dev/[email protected] | |
with: | |
cache: true | |
environments: schema | |
- name: Ensure schema is up-to-date | |
run: | | |
pixi run -e schema generate-schema | |
git diff --exit-code | |
- name: Test Schema | |
run: | | |
pixi run -e schema test-schema | |
git diff --exit-code |