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.
 
 
 
 

51 lines
1.0 KiB

  1. name: E2E tests
  2. on:
  3. push:
  4. branches: [master, features]
  5. pull_request:
  6. branches: [master, features]
  7. jobs:
  8. e2e-tests:
  9. runs-on: ${{ matrix.os }}
  10. strategy:
  11. fail-fast: false
  12. matrix:
  13. os:
  14. - ubuntu-18.04
  15. - ubuntu-20.04
  16. python-version:
  17. - '3.7'
  18. - '3.8'
  19. - '3.9'
  20. name: E2E tests (Python ${{ matrix.python-version }} on ${{ matrix.os }})
  21. steps:
  22. - uses: actions/checkout@v1
  23. - name: Set up Python
  24. uses: actions/setup-python@v1
  25. with:
  26. python-version: ${{ matrix.python-version }}
  27. - name: Prepare tests
  28. run: |
  29. sudo apt update
  30. sudo apt install ruby
  31. sudo gem install ronn
  32. pip install -U setuptools pip requests wheel Babel
  33. - name: E2E tests
  34. run: |
  35. export ENVIRONMENT="CI"
  36. bash .scripts/tests-e2e.sh
  37. - name: manpage (section 1)
  38. run: |
  39. man -P $(which cat) kosmorro
  40. - name: manpage (section 7)
  41. run: |
  42. man -P $(which cat) 7 kosmorro