From c52331d88527eae1ec7bc18533d99967b4397bd6 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Thu, 31 Oct 2024 11:51:50 -0400 Subject: [PATCH] ci: add uv job for better logging output Signed-off-by: Henry Schreiner --- .github/workflows/ci.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e3bf8df..36eb4198 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,6 +66,35 @@ jobs: include-hidden-files: true if-no-files-found: error + uvrun: + # This job doesn't interfere with logging + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + steps: + - uses: actions/checkout@v4 + - name: Set up Pythons + uses: actions/setup-python@v5 + with: + python-version: | + 3.9 + 3.10 + 3.12 + - name: Setup uv + uses: astral-sh/setup-uv@v3 + - name: Set up Miniconda + uses: conda-incubator/setup-miniconda@v3 + with: + auto-update-conda: true + python-version: 3.12 + use-mamba: true + channels: conda-forge + - name: Run tests with uv + run: uv run pytest + + coverage: needs: build runs-on: ubuntu-latest