Add migration guide #613
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
| # Based on https://docs.astral.sh/uv/guides/integration/github/#multiple-python-versions | |
| name: Unit Tests | |
| # trigger on PRs and main branches | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| - develop | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| version: "0.9.11" | |
| python-version: ${{ matrix.python-version }} | |
| - name: Set up Python | |
| run: uv python install | |
| - name: Install dependencies | |
| run: uv sync --dev | |
| - name: Test with pytest and coverage | |
| run: | | |
| uv run pytest --cov=datacrunch | |
| - name: 'Upload coverage to Codecov' | |
| uses: codecov/codecov-action@v1 | |
| with: | |
| fail_ci_if_error: false | |
| - name: Test datacrunch_compat with pytest | |
| working-directory: datacrunch_compat | |
| run: | | |
| uv run pytest |