Skip to content

Commit 72c5783

Browse files
authored
Update checks.yml
1 parent ecf6164 commit 72c5783

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

.github/workflows/checks.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,30 +33,21 @@ jobs:
3333
key: ${{ runner.os }}-${{ steps.get_python_version.outputs.python_version }}-dependencies-${{ hashFiles('**/pdm.lock') }}
3434
restore-keys: |
3535
${{ runner.os }}-${{ steps.get_python_version.outputs.python_version }}-dependencies
36-
- name: Install PDM
37-
run: pip install pdm
36+
- name: Install Poetry
37+
run: pip install poetry
3838

3939
- name: Install Dependencies
40-
run: pdm install
41-
42-
- name: Check formatting
43-
run: pdm run ruff format . --check
44-
45-
- name: Run mypy
46-
run: pdm mypy --show-error-codes
47-
48-
- name: Lint
49-
run: pdm run ruff check .
40+
run: poetry install
5041

5142
- name: Run pytest without coverage
5243
if: matrix.os != 'ubuntu-latest'
53-
run: pdm test
44+
run: task unit
5445
env:
5546
TASKIPY: true
5647

5748
- name: Run pytest with coverage
5849
if: matrix.os == 'ubuntu-latest'
59-
run: pdm test_with_coverage
50+
run: task code_coverage
6051
env:
6152
TASKIPY: true
6253

0 commit comments

Comments
 (0)