schedule_tests.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. name: Schedule tests
  2. on:
  3. workflow_dispatch:
  4. concurrency:
  5. group: ${{ github.workflow }}-${{ github.ref }}
  6. cancel-in-progress: true
  7. jobs:
  8. windows:
  9. runs-on: windows-latest
  10. strategy:
  11. matrix:
  12. python-version:
  13. - '3.8'
  14. - '3.9'
  15. - '3.10'
  16. - '3.11.0-alpha - 3.11.0'
  17. name: Windows, SQLite, Python ${{ matrix.python-version }}
  18. continue-on-error: true
  19. steps:
  20. - name: Checkout
  21. uses: actions/checkout@v3
  22. - name: Set up Python
  23. uses: actions/setup-python@v3
  24. with:
  25. python-version: ${{ matrix.python-version }}
  26. cache: 'pip'
  27. cache-dependency-path: 'tests/requirements/py3.txt'
  28. - run: pip install -r tests/requirements/py3.txt -e .
  29. - name: Run tests
  30. run: python tests/runtests.py -v2
  31. javascript-tests:
  32. runs-on: ubuntu-latest
  33. name: JavaScript tests
  34. steps:
  35. - name: Checkout
  36. uses: actions/checkout@v3
  37. - name: Set up Node.js
  38. uses: actions/setup-node@v3
  39. with:
  40. node-version: '12'
  41. cache: 'npm'
  42. cache-dependency-path: '**/package.json'
  43. - run: npm install
  44. - run: npm test