Merge pull request #6 from datit309/dependabot/github_actions/actions… #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Installer tests | |
| on: | |
| push: | |
| paths: | |
| - install.sh | |
| - install.ps1 | |
| - plugins/supergraph/tests/test-bootstrap-installer*.sh | |
| - .github/workflows/installer-tests.yml | |
| pull_request: | |
| paths: | |
| - install.sh | |
| - install.ps1 | |
| - plugins/supergraph/tests/test-bootstrap-installer*.sh | |
| - .github/workflows/installer-tests.yml | |
| jobs: | |
| bootstrap-installers: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Test POSIX installer | |
| if: runner.os != 'Windows' | |
| shell: bash | |
| run: bash plugins/supergraph/tests/test-bootstrap-installer.sh | |
| - name: Test Windows PowerShell 5.1 entrypoint | |
| if: runner.os == 'Windows' | |
| shell: powershell | |
| run: powershell.exe -NoProfile -File ./install.ps1 -Help | |
| - name: Test PowerShell installer | |
| shell: bash | |
| run: bash plugins/supergraph/tests/test-bootstrap-installer-powershell.sh |