25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

27 lines
517 B

  1. name: Python Lint
  2. on:
  3. push:
  4. branches: [master, features]
  5. pull_request:
  6. branches: [master, features]
  7. jobs:
  8. pylint:
  9. runs-on: ubuntu-latest
  10. name: PyLint
  11. steps:
  12. - uses: actions/checkout@v1
  13. - name: Set up Python
  14. uses: actions/setup-python@v1
  15. with:
  16. python-version: 3.9
  17. - name: Install dependencies
  18. run: |
  19. pip install --upgrade pip pipenv
  20. pipenv sync -d
  21. - name: Lint
  22. run: |
  23. pipenv run pylint kosmorro *.py kosmorrolib/*.py