explicitly include data dir #291
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: Python | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| name: Test Python | |
| timeout-minutes: 10 | |
| runs-on: ubuntu-latest | |
| env: | |
| wd: ./ | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: ${{github.head_ref}} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Set up Python3.x | |
| uses: actions/setup-python@v5 | |
| id: py | |
| - name: Get requirements | |
| working-directory: ${{env.wd}} | |
| run: | | |
| uv sync --locked --all-extras --dev | |
| - name: Linting, formatting, and type checking | |
| working-directory: ${{env.wd}} | |
| run: uv run pre-commit run --show-diff-on-failure --all-files | |
| - name: Test | |
| working-directory: ${{env.wd}} | |
| run: uv run pytest -vx |