feat: in-browser WASM conversion engine with full worker-matrix parity #544
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: Pull Request Tests | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| # Use concurrency to ensure that only one instance of this workflow is running at a time | |
| concurrency: | |
| group: pr-tests-${{ github.ref_name }} | |
| cancel-in-progress: true | |
| # installs mamba-org/setup-micromamba@v2 on all 3 platforms using matrix and runs pytest: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha || github.ref }} | |
| - uses: prefix-dev/setup-pixi@v0.9.6 # https://github.com/prefix-dev/setup-pixi | |
| with: | |
| pixi-version: v0.68.0 | |
| cache: true | |
| environments: lint | |
| - run: pixi run lint | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha || github.ref }} | |
| - uses: prefix-dev/setup-pixi@v0.9.6 | |
| with: | |
| pixi-version: v0.68.0 | |
| environments: tests | |
| cache: true | |
| - name: Runs Tests | |
| run: pixi run -e tests test |