diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09047e9..8bb7b2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,18 +19,17 @@ jobs: uses: baptiste0928/cargo-install@v3 with: crate: just - - name: Install typst-test from github + - name: Install tytanic uses: baptiste0928/cargo-install@v3 with: - crate: typst-test - git: https://github.com/tingerrr/typst-test.git - tag: ci-semi-stable + crate: tytanic + git: https://github.com/tingerrr/tytanic.git - run: | mkdir -p ~/.local/share/typst/packages/preview/cetz git clone --depth 1 --branch v0.3.2 https://github.com/cetz-package/cetz.git ~/.local/share/typst/packages/preview/cetz/0.3.2 - uses: typst-community/setup-typst@v3 with: - typst-version: '0.12.0' + typst-version: '0.13.0-rc1' cache-dependency-path: src/cetz.typ - run: | just install @local diff --git a/README.md b/README.md index 8b6bc62..d3aa195 100644 --- a/README.md +++ b/README.md @@ -71,4 +71,4 @@ To install `just` on your system, use your systems package manager. On Windows, This package comes with some unit tests under the `tests` directory. To run all tests you can run the `just test` target. You need to have -[`typst-test`](https://github.com/tingerrr/typst-test/) in your `PATH`: `cargo install typst-test --git https://github.com/tingerrr/typst-test`. +[`tytanic`](https://github.com/tingerrr/tytanic/) in your `PATH`: `cargo install tytanic --git https://github.com/tingerrr/tytanic`. diff --git a/justfile b/justfile index 44c05c8..1e6e555 100644 --- a/justfile +++ b/justfile @@ -10,10 +10,10 @@ install target="@local": ./common/scripts/package "{{target}}" test *filter: - typst-test run {{filter}} + tt run {{filter}} update-test *filter: - typst-test update {{filter}} + tt update {{filter}} manual: typst c manual.typ manual.pdf diff --git a/tests/axes/log-mode/ref/1.png b/tests/axes/log-mode/ref/1.png index 409c2c3..f4b00c8 100644 Binary files a/tests/axes/log-mode/ref/1.png and b/tests/axes/log-mode/ref/1.png differ diff --git a/tests/axes/ref/1.png b/tests/axes/self/ref/1.png similarity index 100% rename from tests/axes/ref/1.png rename to tests/axes/self/ref/1.png diff --git a/tests/axes/test.typ b/tests/axes/self/test.typ similarity index 100% rename from tests/axes/test.typ rename to tests/axes/self/test.typ diff --git a/tests/chart/ref/1.png b/tests/chart/self/ref/1.png similarity index 61% rename from tests/chart/ref/1.png rename to tests/chart/self/ref/1.png index a9aab7b..499356d 100644 Binary files a/tests/chart/ref/1.png and b/tests/chart/self/ref/1.png differ diff --git a/tests/chart/test.typ b/tests/chart/self/test.typ similarity index 100% rename from tests/chart/test.typ rename to tests/chart/self/test.typ diff --git a/tests/plot/annotation/ref/1.png b/tests/plot/annotation/ref/1.png index 77cd005..8e38416 100644 Binary files a/tests/plot/annotation/ref/1.png and b/tests/plot/annotation/ref/1.png differ diff --git a/tests/plot/bar/ref/1.png b/tests/plot/bar/ref/1.png index 307100d..cb81662 100644 Binary files a/tests/plot/bar/ref/1.png and b/tests/plot/bar/ref/1.png differ diff --git a/tests/plot/boxwhisker/ref/1.png b/tests/plot/boxwhisker/ref/1.png index 2f1e16e..03a020c 100644 Binary files a/tests/plot/boxwhisker/ref/1.png and b/tests/plot/boxwhisker/ref/1.png differ diff --git a/tests/plot/broken-axes/ref/1.png b/tests/plot/broken-axes/ref/1.png index fcd2e11..7b095b0 100644 Binary files a/tests/plot/broken-axes/ref/1.png and b/tests/plot/broken-axes/ref/1.png differ diff --git a/tests/plot/contour/ref/1.png b/tests/plot/contour/ref/1.png index adad8ab..795b0c8 100644 Binary files a/tests/plot/contour/ref/1.png and b/tests/plot/contour/ref/1.png differ diff --git a/tests/plot/equal-axis/ref/1.png b/tests/plot/equal-axis/ref/1.png index 7f4196f..b433e7d 100644 Binary files a/tests/plot/equal-axis/ref/1.png and b/tests/plot/equal-axis/ref/1.png differ diff --git a/tests/plot/format/ref/1.png b/tests/plot/format/ref/1.png index 2b5a0ec..ae6f3c5 100644 Binary files a/tests/plot/format/ref/1.png and b/tests/plot/format/ref/1.png differ diff --git a/tests/plot/grid/ref/1.png b/tests/plot/grid/ref/1.png index 550e9d5..78d84ca 100644 Binary files a/tests/plot/grid/ref/1.png and b/tests/plot/grid/ref/1.png differ diff --git a/tests/plot/hvline/ref/1.png b/tests/plot/hvline/ref/1.png index 24fa4d3..e318a4c 100644 Binary files a/tests/plot/hvline/ref/1.png and b/tests/plot/hvline/ref/1.png differ diff --git a/tests/plot/legend/ref/1.png b/tests/plot/legend/ref/1.png index def865f..597a33e 100644 Binary files a/tests/plot/legend/ref/1.png and b/tests/plot/legend/ref/1.png differ diff --git a/tests/plot/line/between/ref/1.png b/tests/plot/line/between/ref/1.png index 8fba9e2..51241b1 100644 Binary files a/tests/plot/line/between/ref/1.png and b/tests/plot/line/between/ref/1.png differ diff --git a/tests/plot/line/fill/ref/1.png b/tests/plot/line/fill/ref/1.png index 09a108f..6117f40 100644 Binary files a/tests/plot/line/fill/ref/1.png and b/tests/plot/line/fill/ref/1.png differ diff --git a/tests/plot/line/line-type/ref/1.png b/tests/plot/line/line-type/ref/1.png index 7814191..579c80a 100644 Binary files a/tests/plot/line/line-type/ref/1.png and b/tests/plot/line/line-type/ref/1.png differ diff --git a/tests/plot/line/linearization/ref/1.png b/tests/plot/line/linearization/ref/1.png index ea8c022..97b0dbd 100644 Binary files a/tests/plot/line/linearization/ref/1.png and b/tests/plot/line/linearization/ref/1.png differ diff --git a/tests/plot/line/mark/ref/1.png b/tests/plot/line/mark/ref/1.png index f4e7ca6..4435ebf 100644 Binary files a/tests/plot/line/mark/ref/1.png and b/tests/plot/line/mark/ref/1.png differ diff --git a/tests/plot/line/spline/ref/1.png b/tests/plot/line/spline/ref/1.png index ba6e25b..71703d6 100644 Binary files a/tests/plot/line/spline/ref/1.png and b/tests/plot/line/spline/ref/1.png differ diff --git a/tests/plot/marks/ref/1.png b/tests/plot/marks/ref/1.png index ad6e334..c8fab43 100644 Binary files a/tests/plot/marks/ref/1.png and b/tests/plot/marks/ref/1.png differ diff --git a/tests/plot/mirror-axes/ref/1.png b/tests/plot/mirror-axes/ref/1.png index 4e7e062..6c1857c 100644 Binary files a/tests/plot/mirror-axes/ref/1.png and b/tests/plot/mirror-axes/ref/1.png differ diff --git a/tests/plot/parametric/ref/1.png b/tests/plot/parametric/ref/1.png index 18557d3..c0877b6 100644 Binary files a/tests/plot/parametric/ref/1.png and b/tests/plot/parametric/ref/1.png differ diff --git a/tests/plot/ref/1.png b/tests/plot/ref/1.png deleted file mode 100644 index 2cfb1b8..0000000 Binary files a/tests/plot/ref/1.png and /dev/null differ diff --git a/tests/plot/reverse-axis/ref/1.png b/tests/plot/reverse-axis/ref/1.png index d29c1b6..cf2fed1 100644 Binary files a/tests/plot/reverse-axis/ref/1.png and b/tests/plot/reverse-axis/ref/1.png differ diff --git a/tests/plot/self/ref/1.png b/tests/plot/self/ref/1.png new file mode 100644 index 0000000..fa7a6dd Binary files /dev/null and b/tests/plot/self/ref/1.png differ diff --git a/tests/plot/test.typ b/tests/plot/self/test.typ similarity index 100% rename from tests/plot/test.typ rename to tests/plot/self/test.typ diff --git a/tests/plot/vertical/ref/1.png b/tests/plot/vertical/ref/1.png index f034306..2a083df 100644 Binary files a/tests/plot/vertical/ref/1.png and b/tests/plot/vertical/ref/1.png differ diff --git a/typst.toml b/typst.toml index 0de882c..f888c06 100644 --- a/typst.toml +++ b/typst.toml @@ -1,7 +1,7 @@ [package] name = "cetz-plot" version = "0.1.1" -compiler = "0.12.0" +compiler = "0.13.0-rc1" repository = "https://github.com/cetz-package/cetz-plot" entrypoint = "src/lib.typ" authors = [