CI allows for both modes

This commit is contained in:
Martin 2021-06-29 14:36:35 +02:00
parent 21d919e2d2
commit 96563ccb42

View File

@ -36,6 +36,9 @@ jobs:
toolchain: ${{ matrix.rust }} toolchain: ${{ matrix.rust }}
override: true override: true
- name: Dependency cache
uses: Swatinem/rust-cache@v1
- name: Build - name: Build
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
@ -47,3 +50,9 @@ jobs:
with: with:
command: test command: test
args: --manifest-path typst/Cargo.toml --all-features args: --manifest-path typst/Cargo.toml --all-features
- name: Test without incremental
uses: actions-rs/cargo@v1
with:
command: test
args: --manifest-path typst/Cargo.toml --no-default-features --features fs