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: |