BaseConverter get_columns hook #117
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| test-matrix: | |
| name: Test on ${{ matrix.os }} with Python ${{ matrix.python-version }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - windows-latest | |
| - macos-latest | |
| python-version: | |
| - "3.10" | |
| - "3.13" | |
| steps: | |
| # Pixi should manage Python versions, but it doesn't work on Windows in GitHub Actions | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - uses: actions/checkout@v4 | |
| - name: Set up pixi | |
| uses: prefix-dev/[email protected] | |
| with: | |
| pixi-version: v0.49.0 | |
| environments: dev | |
| - name: Install project in editable mode | |
| run: pixi run -e dev install-dev | |
| - name: Test CLI command in development env | |
| run: pixi run -e dev vec --help | |
| - name: Run linting | |
| run: pixi run -e dev lint | |
| - name: Run tests | |
| run: pixi run -e dev test | |
| - name: Build package | |
| run: pixi run -e dev build | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| file: ./coverage.xml | |
| flags: unittests | |
| name: codecov-umbrella | |
| fail_ci_if_error: false |