-
Notifications
You must be signed in to change notification settings - Fork 3
47 lines (39 loc) · 1.05 KB
/
tests.yml
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
37
38
39
40
41
42
43
44
45
46
47
name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Probe runner package cache
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: imagemagick cargo
version: 1.0
- name: Install nu from crates.io
uses: baptiste0928/[email protected]
with:
crate: nu
- name: Install just from crates.io
uses: baptiste0928/[email protected]
with:
crate: just
- name: Install typst-test from github
uses: baptiste0928/[email protected]
with:
crate: typst-test
git: https://github.com/tingerrr/typst-test.git
tag: ci-semi-stable
- name: Setup typst
uses: yusancky/setup-typst@v2
with:
version: 'v0.10.0'
- name: Test manual and example generation
run: just gen
- name: Run test suite
run: just test