Skip to content

Commit

Permalink
Add CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
EpicEricEE committed Jul 5, 2024
1 parent ccbb803 commit dee93d8
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Continuous Integration
on:
push:
branches:
- master
- main
pull_request:
branches:
- '**'

jobs:
tests:
name: Tests
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Probe runner package cache
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: cargo
version: 1.0

- name: Install typst-test from GitHub
uses: baptiste0928/cargo-install@v3
with:
crate: typst-test
git: https://github.com/tingerrr/typst-test.git
branch: ci-semi-stable

- name: Setup typst
uses: typst-community/setup-typst@v3

- name: Run test suite
run: typst-test run

0 comments on commit dee93d8

Please sign in to comment.