Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

test.yml 1.3 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. name: test
  2. on: [push, pull_request]
  3. jobs:
  4. test-packages:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v2
  8. - name: test packages
  9. run: |
  10. yarn install
  11. yarn test
  12. test-mobile:
  13. runs-on: ubuntu-latest
  14. steps:
  15. - uses: actions/checkout@v2
  16. - name: test mobile
  17. run: |
  18. cd mobile
  19. yarn install
  20. yarn test
  21. test-cli:
  22. runs-on: ubuntu-latest
  23. strategy:
  24. max-parallel: 3
  25. matrix:
  26. python-version: [3.6, 3.7, 3.8]
  27. steps:
  28. - uses: actions/checkout@v2
  29. - uses: actions/setup-python@v1
  30. with:
  31. python-version: ${{ matrix.python-version }}
  32. - name: test cli
  33. run: |
  34. cd cli
  35. ./test
  36. test-backend:
  37. runs-on: ubuntu-latest
  38. steps:
  39. - uses: actions/checkout@v2
  40. - uses: actions/setup-python@v1
  41. with:
  42. python-version: "3.6"
  43. - name: test backend
  44. run: |
  45. cd containers/backend
  46. python -m pip install --upgrade pip
  47. python -m pip install -r requirements.txt
  48. python manage.py test
  49. test-containers:
  50. runs-on: ubuntu-latest
  51. steps:
  52. - uses: actions/checkout@v2
  53. - name: test containers
  54. run: |
  55. cd containers
  56. ./test