-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (28 loc) · 863 Bytes
/
test.yml
File metadata and controls
36 lines (28 loc) · 863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Test template creation
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- name: Set up uv
uses: astral-sh/setup-uv@4959332f0f014c5280e7eac8b70c90cb574c9f9b
with:
enable-cache: true
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@9e48da27e184aa238fcb49f5db75469626d43adb # v2.1.9
- name: Install justfile
run: sudo apt install -y just
- name: Set Git user
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "fake@example.com"
- name: Test and check template creation
run: just _tests