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/