Skip to content

Add CI workflow and switch to new typst-test structure #14

Add CI workflow and switch to new typst-test structure

Add CI workflow and switch to new typst-test structure #14

Workflow file for this run

name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: imagemagick cargo
version: 1.0
- name: Install nushell 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
branch: core-rework
- uses: yusancky/setup-typst@v2
id: setup-typst
with:
version: 'v0.10.0'
- run: |
just gen
just test