|
123456789101112131415161718192021222324 |
- name: Python application
-
- on: [push]
-
- jobs:
- build:
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v1
- - name: Set up Python
- uses: actions/setup-python@v1
- with:
- python-version: 3.8
- - name: Install dependencies
- run: |
- pip install --upgrade pip pipenv
- pipenv sync -d
- - name: Unit tests
- run: |
- pipenv run python -m unittest -v test
- - name: Lint
- run: |
- pipenv run pylint kosmorro *.py kosmorrolib/*.py
|