add embedded images #162
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Run Tests | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["*"] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| max-parallel: 4 | |
| fail-fast: false | |
| matrix: | |
| version: ["5.2", "daily"] | |
| os: [macos-latest, windows-latest, ubuntu-latest] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: BradyAJohnston/setup-blender@v5 | |
| with: | |
| version: ${{ matrix.version }} | |
| - name: Install in Blender | |
| run: blender -b -P tests/python.py -- -m pip install ".[test]" | |
| - name: Run Tests in Blender | |
| run: blender -b -P tests/run.py -- -vv tests --cov --cov-report=xml | |
| - name: Build and validate extension | |
| shell: bash | |
| run: | | |
| blender -b -P build.py | |
| for archive in typst_importer-*.zip; do | |
| blender --factory-startup --command extension validate "$archive" | |
| done | |