Add testing framework, CI, and make post-commands optional #7
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: | |
pull_request: | |
branch: main | |
jobs: | |
ci: | |
strategy: | |
matrix: | |
python-version: ["3.10"] | |
os: [macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout PR branch | |
uses: actions/[email protected] | |
- name: Setup Python | |
uses: actions/[email protected] | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install uv and requirements | |
run: | | |
python -m pip install uv | |
uv pip compile dev-requirements.in -o dev-requirements.txt | |
uv pip install -r dev-requirements.txt --system | |
- name: Run integration tests | |
run: pytest template-integration-tests |