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.

28 lines
714 B

2 years ago
2 years ago
2 years ago
  1. name: Daily check
  2. on:
  3. schedule:
  4. - cron: "0 4 * * *"
  5. jobs:
  6. test:
  7. runs-on: ubuntu-latest
  8. strategy:
  9. fail-fast: false
  10. matrix:
  11. python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
  12. steps:
  13. - uses: actions/checkout@v3
  14. - name: Set up Python ${{ matrix.python-version }}
  15. uses: actions/setup-python@v3
  16. with:
  17. python-version: ${{ matrix.python-version }}
  18. - uses: docker-practice/actions-setup-docker@master
  19. - name: Install dependencies
  20. run: |
  21. python -m pip install --upgrade pip
  22. python -m pip install poetry
  23. poetry install
  24. - name: Run tests
  25. run: |
  26. poetry run tox -e tests