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.
 
 
 
 

55 line
1.2 KiB

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