add TagSpecs and fix parsing of Django tag blocks #209
This file contains 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: test | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
workflow_call: | |
concurrency: | |
group: test-${{ github.head_ref }} | |
cancel-in-progress: true | |
env: | |
CARGO_TERM_COLOR: always | |
FORCE_COLOR: "1" | |
PYTHONUNBUFFERED: "1" | |
UV_VERSION: "0.4.x" | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v5 | |
with: | |
enable-cache: true | |
version: ${{ env.UV_VERSION }} | |
- name: Install dependencies and build | |
run: | | |
uv sync --frozen | |
uv run maturin build | |
- name: Run tests | |
run: cargo test --verbose |