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.

24 lines
641 B

  1. name: Tests
  2. on: [push, pull_request]
  3. jobs:
  4. build:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v1
  8. - name: Download submodules
  9. run: |
  10. git submodule update --init --recursive
  11. git submodule sync -q
  12. git submodule update --init
  13. - name: Set up Python
  14. uses: actions/setup-python@v1
  15. with:
  16. python-version: [2.7, 3.4, 3.5, 3.6, 3.7, 3.8]
  17. - name: Install dependencies
  18. run: |
  19. python -m pip install --upgrade pip
  20. pip install -r nearley-requirements.txt
  21. - name: Run tests
  22. run: |
  23. python -m tests