applications.yml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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=manylinux1_x86_64 \
  32. --python-version=3.9
  33. test -e tasmotizer-x86_64.AppImage
  34. - name: Test xonsh
  35. run: |
  36. python -m python_appimage build app applications/xonsh
  37. test -e xonsh-x86_64.AppImage
  38. ./xonsh-x86_64.AppImage -c 'import xonsh'
  39. - name: Test ssh-mitm
  40. if: ${{ matrix.version == '3.9' }}
  41. run: |
  42. python -m python_appimage build app applications/ssh-mitm
  43. test -e ssh-mitm-x86_64.AppImage
  44. ./ssh-mitm-x86_64.AppImage --help