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.

31 lines
866 B

2 years ago
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.9", "3.10", "3.11", "3.12", "3.13"]
  12. keycloak-version: ["22.0", "23.0", "24.0", "25.0", "26.0", "latest"]
  13. env:
  14. KEYCLOAK_DOCKER_IMAGE_TAG: ${{ matrix.keycloak-version }}
  15. steps:
  16. - uses: actions/checkout@v4
  17. - name: Set up Python ${{ matrix.python-version }}
  18. uses: actions/setup-python@v5
  19. with:
  20. python-version: ${{ matrix.python-version }}
  21. - uses: docker-practice/actions-setup-docker@master
  22. - name: Install dependencies
  23. run: |
  24. python -m pip install --upgrade pip
  25. python -m pip install poetry
  26. poetry install
  27. - name: Run tests
  28. run: |
  29. poetry run tox -e tests