1
0

applications.yml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. name: Applications
  2. on:
  3. push:
  4. branches:
  5. - master
  6. paths:
  7. - '.github/workflows/applications.yml'
  8. - 'applications/**'
  9. - 'python_appimage/**'
  10. jobs:
  11. Test:
  12. runs-on: ubuntu-latest
  13. strategy:
  14. matrix:
  15. version: ['2.7', '3.7', '3.9']
  16. steps:
  17. - uses: actions/checkout@v2
  18. - uses: actions/setup-python@v1
  19. with:
  20. python-version: ${{ matrix.version }}
  21. - name: Test scipy
  22. run: |
  23. python -m python_appimage build app applications/scipy \
  24. --python-version=2.7 \
  25. --python-tag=cp27-cp27mu
  26. test -e scipy-x86_64.AppImage
  27. ./scipy-x86_64.AppImage -c 'import numpy, pandas, scipy'
  28. - name: Test tasmotizer
  29. run: |
  30. python -m python_appimage build app applications/tasmotizer \
  31. --linux-tag=manylinux2014_x86_64
  32. test -e tasmotizer-x86_64.AppImage
  33. - name: Test xonsh
  34. run: |
  35. python -m python_appimage build app applications/xonsh
  36. test -e xonsh-x86_64.AppImage
  37. ./xonsh-x86_64.AppImage -c 'import xonsh'
  38. - name: Test ssh-mitm
  39. if: ${{ matrix.version == '3.9' }}
  40. run: |
  41. python -m python_appimage build app applications/ssh-mitm
  42. test -e ssh-mitm-x86_64.AppImage
  43. ./ssh-mitm-x86_64.AppImage --help