We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5340ec3 commit 0fd6504Copy full SHA for 0fd6504
.github/workflows/unittests.yml
@@ -9,19 +9,21 @@ jobs:
9
runs-on: ubuntu-latest
10
11
steps:
12
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v4
13
- name: Set up Python 3.7
14
- uses: actions/setup-python@v1
+ uses: actions/setup-python@v5
15
with:
16
python-version: 3.7
17
- name: Install dependencies
18
run: |
19
- python -m pip install --upgrade pip
20
- pip install .
21
- pip install -e .[test]
22
- - name: Lint with flake8
+ sudo apt install pipx
+ pipx install uv
+ - name: Check formatting with ruff
23
24
- tox -e pep8
+ uvx ruff format --diff
+ - name: Lint with ruff
25
+ run: |
26
+ uvx ruff check
27
- name: Run unit tests
28
- tox -e py37
29
+ uv run pytest
0 commit comments