You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pythonapp.yml 505 B

5 vuotta sitten
123456789101112131415161718192021222324
  1. name: Python application
  2. on: [push]
  3. jobs:
  4. build:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v1
  8. - name: Set up Python
  9. uses: actions/setup-python@v1
  10. with:
  11. python-version: 3.8
  12. - name: Install dependencies
  13. run: |
  14. pip install --upgrade pip pipenv
  15. pipenv sync -d
  16. - name: Unit tests
  17. run: |
  18. pipenv run python -m unittest -v test
  19. - name: Lint
  20. run: |
  21. pipenv run pylint kosmorro *.py kosmorrolib/*.py