Skip to content

Fix matrix cell parser for variants with dashes #11

Fix matrix cell parser for variants with dashes

Fix matrix cell parser for variants with dashes #11

Workflow file for this run

name: test
on:
push:
branches: [main]
tags: ['v*']
pull_request:
jobs:
basic:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v8.1.0
- name: smoke — basic example
run: tests/smoke.sh basic
matrix:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v8.1.0
- name: smoke — with-matrix example
run: tests/smoke.sh with-matrix
# Windows runs on tag push only. The matrix cell recipe uses `cut` and
# POSIX shell interpolation, so it needs Git Bash; windows-latest ships
# it via the Git for Windows install. We only exercise the basic example
# here — the matrix cells are the part most at risk on Windows, but
# installing make plus validating that path is slow enough that
# per-push is overkill.
windows:
if: startsWith(github.ref, 'refs/tags/v')
runs-on: windows-latest
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v8.1.0
- name: Install GNU Make
run: choco install make -y
shell: pwsh
- name: smoke — basic example (Git Bash)
shell: bash
run: tests/smoke.sh basic