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.
 
 
 
 

48 lines
965 B

  1. name: Tests
  2. on:
  3. push:
  4. branches: [master, features]
  5. pull_request:
  6. branches: [master, features]
  7. schedule:
  8. # Run the tests every day at 6:00 AM.
  9. # This allows to run the tests against the relative dates
  10. - cron: "0 6 * * *"
  11. jobs:
  12. e2e-tests:
  13. runs-on: ${{ matrix.os }}
  14. strategy:
  15. fail-fast: false
  16. matrix:
  17. os:
  18. - ubuntu-latest
  19. - macos-latest
  20. python-version:
  21. - '3.8'
  22. - '3.9'
  23. - '3.10'
  24. - '3.11'
  25. - '3.12'
  26. name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
  27. steps:
  28. - uses: actions/checkout@v4
  29. - name: Set up Python
  30. uses: actions/setup-python@v5
  31. with:
  32. python-version: ${{ matrix.python-version }}
  33. - name: Install dependencies
  34. run: |
  35. pip install -U pip poetry
  36. poetry env use $(which python)
  37. poetry install
  38. - name: E2E tests
  39. run: |
  40. make tests