This commit is contained in:
Basyrov Rustam
2025-06-05 23:29:50 +03:00
parent 9ab643bfbf
commit 7dfcd13a7c

View File

@@ -17,31 +17,6 @@ jobs:
uses: actions/checkout@v4
with:
ref: dev
- 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
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: |
PyTest failed
Commit message: ${{ github.event.commits[0].message }}
Repository: ${{ github.repository }}
See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}}
- name: Lint the Dockerfile
uses: hadolint/hadolint-action@v3.1.0
with: