From 6355709fb905481f4ef7b34c82594f10ad86d07a Mon Sep 17 00:00:00 2001 From: Dmytro Parfeniuk Date: Sun, 21 Jul 2024 23:31:05 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Make=20github=20actions=20happy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 814f97e..2f569cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,11 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | @@ -22,13 +26,15 @@ jobs: pip install -e '.[code_quality]' - name: Run tests - run: python -m pytest tests + run: python -m pytest tests/unit - name: Run linter run: python -m ruff check src tests - name: Check formatting - run: python -m black --check src tests && python -m isort --check src tests + run: | + python -m black --check src tests + python -m isort --check src tests - name: Check types run: python -m mypy src tests