Skip to content

Commit

Permalink
update: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-burashnikov committed Nov 3, 2023
1 parent 1e0ce1e commit dd6f511
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 56 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/black.yml

This file was deleted.

15 changes: 13 additions & 2 deletions .github/workflows/pytest.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Pytest testing
name: Pytest, black, mypy, ruff

on: [push, pull_request]

Expand Down Expand Up @@ -30,7 +30,18 @@ jobs:

- name: Install dependencies
run: |
python -m poetry install
python -m poetry install --with dev
- name: Format with black
run: |
python -m poetry run black --diff --check $(git ls-files '*.py')
- name: Static types check with mypy
run: |
python -m poetry run mypy --strict $(git ls-files '*.py')
- name: Ruff linter
uses: chartboost/ruff-action@v1

- name: Run tests
run: |
Expand Down
22 changes: 0 additions & 22 deletions .github/workflows/mypy.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .github/workflows/ruff.yml

This file was deleted.

0 comments on commit dd6f511

Please sign in to comment.