python.yml 557 B

123456789101112131415161718192021222324252627
  1. on:
  2. push:
  3. pull_request:
  4. schedule:
  5. - cron: '0 20 * * 5'
  6. jobs:
  7. build:
  8. runs-on: ubuntu-18.04
  9. strategy:
  10. matrix:
  11. python-version:
  12. # 3.4 not available
  13. - 3.5
  14. - 3.6
  15. - 3.7
  16. - 3.8
  17. steps:
  18. - uses: actions/checkout@v1
  19. - uses: actions/setup-python@v1
  20. with:
  21. python-version: ${{ matrix.python-version }}
  22. - run: pip install --upgrade pipenv>=2018.10.9
  23. - run: pipenv sync --dev
  24. - run: pipenv graph
  25. - run: pipenv run pylint free_disk
  26. - run: pipenv run pytest