fix: Disable semantic_check for job table subtraction in refresh() #543
Workflow file for this run
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: 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/setup-pixi@v0.9.3 | |
| 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/setup-pixi@v0.9.3 | |
| with: | |
| cache: true | |
| locked: false | |
| - name: Run unit tests | |
| run: pixi run -e test pytest tests/unit -v |