Add optional data_folder parameter to CompanionFile (#6) #17
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: [main] | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: test-${{ github.head_ref }} | |
| cancel-in-progress: true | |
| env: | |
| PYTHONUNBUFFERED: "1" | |
| FORCE_COLOR: "1" | |
| jobs: | |
| run: | |
| name: ${{ matrix.pixi-environment }} - ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| permissions: | |
| contents: read | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| pixi-environment: | |
| - py311 | |
| - py312 | |
| - py313 | |
| # - py314 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Pixi | |
| uses: prefix-dev/setup-pixi@v0.9.3 | |
| with: | |
| cache: true | |
| environments: ${{ matrix.pixi-environment }} | |
| - name: Run tests | |
| run: pixi run --environment ${{ matrix.pixi-environment }} cov-xml | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} |