applications.yml 1.4 KB

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