Validate config/manifest documents using Pydantic #59
Workflow file for this run
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
| on: | |
| pull_request: | |
| name: Run Tests | |
| jobs: | |
| bakery: | |
| name: Run posit-bakery tests | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install dependencies | |
| working-directory: ./posit-bakery | |
| run: | | |
| pipx install poetry | |
| poetry install | |
| - name: Run tests | |
| working-directory: ./posit-bakery | |
| run: | | |
| poetry run pytest -n auto \ | |
| --cov=posit_bakery \ | |
| --cov-report=xml \ | |
| --junit-xml=results.xml \ | |
| test/ | |
| - name: Publish test results | |
| if: always() | |
| uses: EnricoMi/publish-unit-test-result-action@v2 | |
| with: | |
| files: ./posit-bakery/results.xml |