From 4608435f779cbc7cb75ac27e8bc6c4e3294aa652 Mon Sep 17 00:00:00 2001 From: Ivan Finch Date: Thu, 12 Sep 2024 22:08:20 +0100 Subject: [PATCH] Small tweaks to tests --- .github/workflows/publish-to-test-pypi.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml index 83af2f0..e581bf8 100644 --- a/.github/workflows/publish-to-test-pypi.yml +++ b/.github/workflows/publish-to-test-pypi.yml @@ -4,6 +4,7 @@ on: push jobs: lint: + name: Use Ruff to perform linting, formatting, and other code quality tests runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -16,6 +17,9 @@ jobs: ruff format --diff test: + name: Run tests on multiple Python versions + needs: + - lint runs-on: ubuntu-latest strategy: matrix: @@ -27,8 +31,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install dependencies - run: >- - python -m pip install .[test] + run: pip install .[test] - name: Run tests run: >- python -m coverage run --source=. -m unittest discover tests/