This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
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
764 B

  1. name: Tests
  2. on: [push, pull_request]
  3. jobs:
  4. build:
  5. runs-on: ubuntu-latest
  6. strategy:
  7. matrix:
  8. python-version: [3.6, 3.7, 3.8, 3.9, 3.10.0-rc - 3.10, pypy3]
  9. steps:
  10. - uses: actions/checkout@v2
  11. - name: Download submodules
  12. run: |
  13. git submodule update --init --recursive
  14. git submodule sync -q
  15. git submodule update --init
  16. - name: Set up Python ${{ matrix.python-version }}
  17. uses: actions/setup-python@v2
  18. with:
  19. python-version: ${{ matrix.python-version }}
  20. - name: Install dependencies
  21. run: |
  22. python -m pip install --upgrade pip
  23. pip install -r test-requirements.txt
  24. - name: Run tests
  25. run: |
  26. python -m tests