Skip to content

Commit

Permalink
use makefile in github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
atarutin committed May 26, 2024
1 parent 3bc3624 commit ac78c57
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Python application
name: Checklist

on:
push:
Expand All @@ -26,11 +26,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint pytest
pip install pylint pytest mypy
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run linter
- name: Run checklist
run: |
pylint **/*.py --rcfile=.pylintrc
- name: Test with pytest
run: |
pytest
make checklist

0 comments on commit ac78c57

Please sign in to comment.