Files
pcdigitizer/.github/workflows/tests.yml
T
2026-04-11 21:59:43 -04:00

40 lines
779 B
YAML

name: Tests
on:
push:
branches: [ "main" ]
paths:
- 'pcdigitizer/**'
- 'tests/**'
- 'pixi.toml'
- 'pixi.lock'
pull_request:
branches: [ "main" ]
paths:
- 'pcdigitizer/**'
- 'tests/**'
- 'pixi.toml'
- 'pixi.lock'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Install pixi
uses: prefix-dev/setup-pixi@v0.9.4
with:
environments: dev
locked: false
frozen: false
cache: true
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
activate-environment: true
- name: Run tests
run: pixi run tests