Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
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.

tests.yaml 3.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. name: Test Edge Paths
  2. on: [push]
  3. jobs:
  4. build-ununtu:
  5. runs-on: ${{ matrix.os }}
  6. strategy:
  7. matrix:
  8. os:
  9. - ubuntu-latest
  10. node_version:
  11. - 12
  12. - 14
  13. architecture:
  14. - x64
  15. name: Node ${{ matrix.node_version }} - ${{ matrix.architecture }} on ${{ matrix.os }}
  16. steps:
  17. - uses: actions/checkout@v2
  18. - name: Setup node
  19. uses: actions/setup-node@v2
  20. with:
  21. node-version: ${{ matrix.node_version }}
  22. architecture: ${{ matrix.architecture }}
  23. - run: curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
  24. - run: sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
  25. - run: sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-dev.list'
  26. - run: sudo rm microsoft.gpg
  27. - run: sudo apt update
  28. - run: sudo apt install microsoft-edge-dev
  29. - run: npm install
  30. - run: node tests/index.js
  31. build-macos:
  32. runs-on: ${{ matrix.os }}
  33. strategy:
  34. matrix:
  35. os:
  36. - macos-latest
  37. node_version:
  38. - 12
  39. - 14
  40. name: Node ${{ matrix.node_version }} - ${{ matrix.architecture }} on ${{ matrix.os }}
  41. steps:
  42. - uses: actions/checkout@v2
  43. - name: Setup node
  44. uses: actions/setup-node@v2
  45. with:
  46. node-version: ${{ matrix.node_version }}
  47. architecture: ${{ matrix.architecture }}
  48. - run: npm install
  49. - run: wget -O beta.pkg https://officecdn-microsoft-com.akamaized.net/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/MicrosoftEdgeBeta-88.0.705.29.pkg?platform=Mac&Consent=0&channel=Beta
  50. - run: wget -O dev.pkg https://officecdn-microsoft-com.akamaized.net/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/MicrosoftEdgeDev-89.0.752.1.pkg?platform=Mac&Consent=0&channel=Dev
  51. - run: wget -O canary.pkg https://officecdn-microsoft-com.akamaized.net/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/MicrosoftEdgeCanary-89.0.760.0.pkg?platform=Mac&Consent=0&channel=Canary
  52. - run: wget -O stable.pkg https://officecdn-microsoft-com.akamaized.net/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/MicrosoftEdge-87.0.664.75.pkg?platform=Mac&Consent=0&channel=Stable
  53. - run: sudo installer -allowUntrusted -pkg canary.pkg -target /
  54. - run: sudo installer -allowUntrusted -pkg dev.pkg -target /
  55. - run: sudo installer -allowUntrusted -pkg beta.pkg -target /
  56. - run: sudo installer -allowUntrusted -pkg stable.pkg -target /
  57. - run: node tests/index.js
  58. # build-window:
  59. # runs-on: ${{ matrix.os }}
  60. # strategy:
  61. # matrix:
  62. # os:
  63. # - windows-latest
  64. # node_version:
  65. # - 12
  66. # - 14
  67. # name: Node ${{ matrix.node_version }} - ${{ matrix.architecture }} on ${{ matrix.os }}
  68. # steps:
  69. # - uses: actions/checkout@v2
  70. # - name: Setup node
  71. # uses: actions/setup-node@v2
  72. # with:
  73. # node-version: ${{ matrix.node_version }}
  74. # architecture: ${{ matrix.architecture }}
  75. # - run: npm install
  76. # - run: node tests/index.js