Test Installation Scripts (Online) #24
This file contains 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: Test Installation Scripts (Online) | |
# Emulate how end users would run the scripts, from qwertie.pages.dev | |
on: | |
workflow_call: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * 0" | |
permissions: | |
contents: read | |
defaults: | |
run: | |
shell: bash | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
test-pwsh-core: | |
timeout-minutes: 10 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-2022, windows-2019] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Test PowerShell scripts | |
shell: pwsh | |
run: ./tests/bin/test_pwsh_online.ps1 | |
test-powershell-desktop: | |
timeout-minutes: 10 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-2022, windows-2019] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Test PowerShell scripts | |
shell: powershell | |
run: ./tests/bin/test_pwsh_online.ps1 | |
test-bash: | |
timeout-minutes: 20 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-22.04, ubuntu-20.04, macos-13, macos-12, macos-11] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install shells | |
uses: ./.github/actions/install-shells | |
- name: Test Bash scripts | |
env: | |
TERM: xterm-256color | |
run: ./tests/bin/test_bash_online.sh |