From c23502637519438ae29b447bc7591d7142796f5d Mon Sep 17 00:00:00 2001 From: Clemens Koza Date: Fri, 4 Oct 2024 22:41:48 +0200 Subject: [PATCH] replace test and add 0.12.0-rc1 in the test matrix --- .github/workflows/tests.yml | 6 +++--- tests/test1/ref/1.png | Bin 3835 -> 0 bytes tests/test1/test.typ | 1 - tests/unit/ref/1.png | Bin 0 -> 70 bytes tests/unit/test.typ | 7 +++++++ 5 files changed, 10 insertions(+), 4 deletions(-) delete mode 100644 tests/test1/ref/1.png delete mode 100644 tests/test1/test.typ create mode 100644 tests/unit/ref/1.png create mode 100644 tests/unit/test.typ diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index adf0cd7..31a6cc1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,7 +1,7 @@ name: Tests on: push: - branches: [ main ] + branches: [ main, typst-0.12-rc ] pull_request: branches: [ main ] @@ -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: diff --git a/tests/test1/ref/1.png b/tests/test1/ref/1.png deleted file mode 100644 index e726341630977abfd37e94771ee645ced9a94f11..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3835 zcmeH|_fr$t7RLjjm`D?dbVli&1rY-#fD%dqgp!~Vss<2Q2nwMiLgK&b*oT!{f~T;mkeXduPt)e&^gI2eg$SSQ-of z00fcN2qyr5hXw%fWt;#W?uhE9`2YaiAr7`!3l4|FX0yM4|Ni{>b1p8fgoK3N-d-ms zr=p^w{r&yduV3@>@@{W$!{P9;u`w|*F;P)bK0dz1#YGVjkryvs7#kbs<>ftm_>iBU zAB93~Y-}toEfo|Lz+f;ch#xVSh20|QxE+1=gUva&KWGqb6wDNj$&vuDrR z+S>N@^{uU~(P*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Y@vZkK>#S|%#HksRqU$Vr((?#@F?BL#pi3s*C&HO;sCx@ zdhLqm&*rF3Ar3DZr3#R9;!9VrrR;h6AGO6Dwp=Rf9YphBh;&CASzf8*Dc1WH$%01n zL9ySZNV3Zz}@^DaA7Wp0t|F?|wA zmTwmhP8nbEdknE2?=!=(_CBKM?bjLuYw*3)dmwtX*No!skjA>(@~H1mu^u6*Kq#pz zKgMquuME3r?HW>z!(`!PwHRtbLT+wzanoy;-7;*An2=i-|9PqLJh=DMzHE5sa6UDw zPj;0R#RgRo^UH&jth!)>LiqVWa;~-&S*asPY-o#TrCv6)UWtOMAvXYwu zfNejRI6CW^D7m;sT&;+U%U>G^-rc6Wdbo1ep`zV{c;Lo_=1o#4urPM-%u}jN0*XVo-&sXKeyxfO9BaSsK}ph@GUNo=P#AV#X|y+?P;?=alPg= zoWdR>`8xum4}e@pyv}e&EFJz%d|W>sUjN7gC2*+Hk-J2;I1LvBjFVdQ&MBb@0J?n-d;kCd literal 0 HcmV?d00001 diff --git a/tests/unit/test.typ b/tests/unit/test.typ new file mode 100644 index 0000000..3d15052 --- /dev/null +++ b/tests/unit/test.typ @@ -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)