From 0e40347a66baf1f0f3282dff416d71910471bbe8 Mon Sep 17 00:00:00 2001 From: Basyrov Rustam Date: Thu, 5 Jun 2025 23:01:51 +0300 Subject: [PATCH] add tests to pytest --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6245c03..be21064 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,17 @@ jobs: requirements-path: requirements.txt readme-path: README.md python-version: 3.11 # python version which will lint the package + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: "3.11" + + - name: Install dependencies + run: pip install -r requirements.txt + + - name: Run tests + run: pytest + - name: Notify in telegram about fail if: ${{ failure() }} uses: appleboy/telegram-action@master @@ -38,5 +49,6 @@ jobs: Commit message: ${{ github.event.commits[0].message }} Repository: ${{ github.repository }} See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} + - name: Check fail run: echo "Unreachable"