選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 
 

69 行
1.4 KiB

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