Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

117 строки
2.5 KiB

  1. name: test
  2. on: [push, pull_request]
  3. jobs:
  4. test-lesspass-crypto:
  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. - run: |
  12. cd packages/lesspass-crypto
  13. yarn install
  14. yarn test
  15. test-lesspass-entropy:
  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. - run: |
  23. cd packages/lesspass-entropy
  24. yarn install
  25. yarn test
  26. test-lesspass-fingerprint:
  27. runs-on: ubuntu-18.04
  28. steps:
  29. - uses: actions/checkout@v2
  30. - uses: actions/setup-node@v1
  31. with:
  32. node-version: "12"
  33. - run: |
  34. cd packages/lesspass-fingerprint
  35. yarn install
  36. yarn test
  37. test-lesspass-render-password:
  38. runs-on: ubuntu-18.04
  39. steps:
  40. - uses: actions/checkout@v2
  41. - uses: actions/setup-node@v1
  42. with:
  43. node-version: "12"
  44. - run: |
  45. cd packages/lesspass-render-password
  46. yarn install
  47. yarn test
  48. test-lesspass-site:
  49. runs-on: ubuntu-18.04
  50. steps:
  51. - uses: actions/checkout@v2
  52. - uses: actions/setup-node@v1
  53. with:
  54. node-version: "12"
  55. - run: |
  56. cd packages/lesspass-site
  57. yarn install
  58. yarn build
  59. test-mobile:
  60. runs-on: ubuntu-18.04
  61. steps:
  62. - uses: actions/checkout@v2
  63. - uses: actions/setup-node@v1
  64. with:
  65. node-version: "12"
  66. - name: test mobile
  67. run: |
  68. cd mobile
  69. yarn install
  70. yarn test
  71. test-cli:
  72. runs-on: ubuntu-18.04
  73. strategy:
  74. max-parallel: 3
  75. matrix:
  76. python-version: [3.6, 3.7, 3.8]
  77. steps:
  78. - uses: actions/checkout@v2
  79. - uses: actions/setup-python@v2
  80. with:
  81. python-version: ${{ matrix.python-version }}
  82. - name: test cli
  83. run: |
  84. cd cli
  85. ./test
  86. test-backend:
  87. runs-on: ubuntu-18.04
  88. steps:
  89. - uses: actions/checkout@v2
  90. - uses: actions/setup-python@v2
  91. with:
  92. python-version: "3.8"
  93. - name: test backend
  94. run: |
  95. cd containers/backend
  96. python -m pip install --upgrade pip
  97. python -m pip install -r requirements.txt
  98. python manage.py test
  99. test-containers:
  100. runs-on: ubuntu-18.04
  101. steps:
  102. - uses: actions/checkout@v2
  103. - name: test containers
  104. run: |
  105. cd containers
  106. ./test