Skip to content

remove duplication readme #65

remove duplication readme

remove duplication readme #65

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
tests:
strategy:
# run tests on all versions, even if one fails
fail-fast: false
matrix:
# add any other Typst versions that your package should support
typst-version: ["0.12", "0.13", "0.14"]
name: Test for Typst ${{ matrix.typst-version }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup typst
uses: typst-community/setup-typst@v4
with:
typst-version: ${{ matrix.typst-version }}
- name: Install fonts
run: |
- name: Run compilation tests
run: |
echo "Testing showcase compilation..."
typst compile --root . tests/showcase/showcase.typ tests/showcase/showcase.pdf
echo "✓ Showcase compiled successfully"
- name: Upload compiled output
uses: actions/upload-artifact@v4
if: always()
with:
name: typst-${{ matrix.typst-version }}-output
path: tests/showcase/*.pdf
retention-days: 5