Skip to content

Commit

Permalink
Small tweaks to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Monarda committed Sep 12, 2024
1 parent 34a22e7 commit 4608435
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -16,6 +17,9 @@ jobs:
ruff format --diff
test:
name: Run tests on multiple Python versions
needs:
- lint
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -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/
Expand Down

0 comments on commit 4608435

Please sign in to comment.