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.
 
 
 
 
 
 

42 rivejä
956 B

  1. name: containers-test
  2. on:
  3. push:
  4. branches:
  5. - main
  6. paths:
  7. - "containers/**"
  8. - "packages/lesspass-site/**"
  9. pull_request:
  10. paths:
  11. - "containers/**"
  12. - "packages/lesspass-site/**"
  13. jobs:
  14. test-backend:
  15. runs-on: ubuntu-18.04
  16. steps:
  17. - uses: actions/checkout@v2
  18. - uses: actions/setup-python@v2
  19. with:
  20. python-version: "3.8"
  21. - run: |
  22. cd containers/backend
  23. python -m pip install --upgrade pip
  24. python -m pip install -r requirements.txt
  25. python manage.py test
  26. test-site:
  27. runs-on: ubuntu-18.04
  28. steps:
  29. - uses: actions/checkout@v2
  30. - uses: actions/setup-node@v2
  31. with:
  32. node-version: "14"
  33. - run: yarn install
  34. - run: yarn workspace lesspass-site test
  35. test-integration:
  36. runs-on: ubuntu-18.04
  37. steps:
  38. - uses: actions/checkout@v2
  39. - run: |
  40. cd containers
  41. ./test