Release using uv as installer #264
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: Run tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - develop | |
| - ci/uv | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| paths-ignore: | |
| - "**.md" | |
| - "**.rst" | |
| - "**.ipynb" | |
| branches: | |
| - main | |
| - develop | |
| jobs: | |
| test_and_build: | |
| if: github.event.pull_request.draft == false | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: ["ubuntu-latest"] | |
| python-version: ["3.10"] | |
| name: Test and build for ${{ matrix.python-version }}, ${{ matrix.os }} | |
| env: | |
| EIT_PROCESSING_TEST_DATA: ${{ github.workspace }}/../eitprocessing_data/ | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/install_eitprocessing | |
| with: | |
| dependencies: --extra testing | |
| extract-data: true | |
| python-version: ${{ matrix.python-version }} | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| data-directory: ${{ env.EIT_PROCESSING_TEST_DATA }} | |
| - name: Run pytest | |
| run: uv run pytest -v |