build: ✅ Add manual test recipe in justfile #39
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
| name: Test template | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| # Least privilege permissions | |
| permissions: read-all | |
| jobs: | |
| test-copier: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@e92bafb6253dcd438e0484186d7669ea7a8ca1cc | |
| - name: Set up Quarto | |
| uses: quarto-dev/quarto-actions/setup@9e48da27e184aa238fcb49f5db75469626d43adb # v2.1.9 | |
| - name: Install justfile | |
| run: sudo apt-get install -y just | |
| - name: Checks | |
| run: | | |
| just check-spelling | |
| - name: Set Git user | |
| run: | | |
| git config --global user.name "github-actions" | |
| git config --global user.email "[email protected]" | |
| - name: Test the template | |
| # TODO: Add other pre/post setup steps here. | |
| run: | | |
| just _tests |