Skip to content

Commit

Permalink
replace test and add 0.12.0-rc1 in the test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
SillyFreak committed Oct 4, 2024
1 parent 61f47d3 commit c235026
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Tests
on:
push:
branches: [ main ]
branches: [ main, typst-0.12-rc ]
pull_request:
branches: [ main ]

Expand All @@ -10,11 +10,11 @@ jobs:
strategy:
matrix:
# add any other Typst versions that your package should support
typst-version: ["0.11"]
typst-version: ["0.11", "0.12.0-rc1"]
# the docs don't need to build with all versions supported by the package;
# the latest one is enough
include:
- typst-version: "0.11"
- typst-version: "0.12.0-rc1"
doc: 1
runs-on: ubuntu-latest
steps:
Expand Down
Binary file removed tests/test1/ref/1.png
Binary file not shown.
1 change: 0 additions & 1 deletion tests/test1/test.typ

This file was deleted.

Binary file added tests/unit/ref/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions tests/unit/test.typ
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#import "/src/lib.typ" as scrutinize

// the output is not relevant for this test
#set page(width: 0pt, height: 0pt)

// TODO real tests
#assert(true)

0 comments on commit c235026

Please sign in to comment.