Skip to content

feat: virtual schema infrastructure and CI improvements #38

feat: virtual schema infrastructure and CI improvements

feat: virtual schema infrastructure and CI improvements #38

Workflow file for this run

name: Test
on:
push:
branches:
- "**"
- "!gh-pages"
- "!stage*"
paths:
- "src/datajoint/**"
- "tests/**"
- "pyproject.toml"
- "pixi.lock"
- ".github/workflows/test.yaml"
pull_request:
branches:
- "**"
- "!gh-pages"
- "!stage*"
paths:
- "src/datajoint/**"
- "tests/**"
- "pyproject.toml"
- "pixi.lock"
- ".github/workflows/test.yaml"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up pixi
uses: prefix-dev/[email protected]
with:
cache: true
locked: false
- name: Run tests
run: pixi run -e test test-cov
# Unit tests run without containers (faster feedback)
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up pixi
uses: prefix-dev/[email protected]
with:
cache: true
locked: false
- name: Run unit tests
run: pixi run -e test pytest tests/unit -v