Updates to PyPI URLs #175
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: Tests and Coverage | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| filter: blob:none | |
| sparse-checkout: | | |
| /* | |
| !**/*.parquet | |
| sparse-checkout-cone-mode: false | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| enable-caching: true | |
| - name: Make helper scripts executable | |
| run: chmod +x bin/lint | |
| - name: Create venv | |
| run: uv venv .venv | |
| - name: Install package with dev extras | |
| run: uv pip install -e .[dev] | |
| - name: Install lychee | |
| uses: lycheeverse/lychee-action@v2 | |
| with: | |
| args: --version | |
| - name: Run lint | |
| run: uv run ./bin/lint | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| filter: blob:none | |
| sparse-checkout: | | |
| /* | |
| !**/*.parquet | |
| sparse-checkout-cone-mode: false | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| enable-caching: true | |
| - name: Show versions | |
| run: | | |
| python --version | |
| uv --version | |
| - name: Make helper scripts executable | |
| run: chmod +x bin/test | |
| - name: Create venv | |
| run: uv venv .venv | |
| - name: Install package with dev extras | |
| run: uv pip install -e .[dev] | |
| - name: Testing | |
| run: uv run ./bin/test | |
| - name: Upload coverage to Coveralls | |
| if: matrix.python-version == '3.10' | |
| uses: coverallsapp/github-action@v2.3.6 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| file: coverage.xml |