Skip to content

Commit 308e437

Browse files
authored
ci: 👷 use reusable test workflow (#201)
# Description Needs a quick review. ## Checklist - [x] Ran `just run-all`
1 parent af65c7b commit 308e437

File tree

1 file changed

+3
-23
lines changed

1 file changed

+3
-23
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,6 @@ permissions: read-all
1111

1212
jobs:
1313
test-copier:
14-
runs-on: ubuntu-latest
15-
steps:
16-
- name: Checkout
17-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
18-
19-
- name: Set up uv
20-
uses: astral-sh/setup-uv@557e51de59eb14aaaba2ed9621916900a91d50c6
21-
with:
22-
enable-cache: true
23-
24-
- name: Set up Quarto
25-
uses: quarto-dev/quarto-actions/setup@9e48da27e184aa238fcb49f5db75469626d43adb # v2.1.9
26-
27-
- name: Install justfile
28-
run: sudo apt install -y just
29-
30-
- name: Set Git user
31-
run: |
32-
git config --global user.name "GitHub Actions"
33-
git config --global user.email "[email protected]"
34-
35-
- name: Test and check template creation
36-
run: just _tests
14+
uses: seedcase-project/.github/.github/workflows/reusable-test-copier.yml@main
15+
with:
16+
test-recipe: "_tests"

0 commit comments

Comments
 (0)