From 16d9363a2fa72323458fb64659f5ea6dd87364a8 Mon Sep 17 00:00:00 2001 From: David Brochart Date: Wed, 20 Nov 2024 14:21:38 +0100 Subject: [PATCH] Remove 'Base setup' --- .github/workflows/ci.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eccb4527..4754f8dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,30 +36,29 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Base Setup - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 + - name: Install hatch + run: pip install hatch - name: Run the tests timeout-minutes: 15 if: ${{ !startsWith( matrix.python-version, 'pypy' ) && !startsWith(matrix.os, 'windows') }} run: | + hatch run test:python --version hatch run cov:test --cov-fail-under 50 || hatch run test:test --lf - name: Run the tests on pypy timeout-minutes: 15 if: ${{ startsWith( matrix.python-version, 'pypy' ) }} run: | + hatch run test:python --version hatch run test:nowarn || hatch run test:nowarn --lf - name: Run the tests on Windows timeout-minutes: 15 if: ${{ startsWith(matrix.os, 'windows') }} run: | - hatch run test:pip install git+https://github.com/davidbrochart/zmq-anyio.git@anyio-selector-thread#egg=zmq_anyio --ignore-installed - hatch run test:pip install git+https://github.com/davidbrochart/anyio.git@selector-thread#egg=anyio --ignore-installed - hatch run test:pip list hatch run test:python --version - hatch run test:pytest -v + hatch run cov:nowarn || hatch run test:nowarn --lf - name: Check Launcher run: |