Merge branch 'feature/addon-base-lic-disable' #284
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' | |
on: | |
push: | |
branches: | |
- '**' | |
tags-ignore: | |
- 'v*' | |
workflow_call: | |
jobs: | |
test-lint: | |
name: 'Lint' | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout' | |
uses: actions/checkout@v4 | |
- name: 'Perform Static Code Analysis (ShellCheck)' | |
env: | |
TERMINAL_NO_USE_CNTRL_CHARS: '1' | |
run: bash test.sh --lint | |
test-system-compat: | |
name: 'System Compatibility' | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout' | |
uses: actions/checkout@v4 | |
- name: 'Test System Compatibility' | |
env: | |
TERMINAL_NO_USE_CNTRL_CHARS: '1' | |
run: bash test.sh --compatibility | |
test-functionality: | |
name: 'Functionality' | |
needs: test-system-compat | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout' | |
uses: actions/checkout@v4 | |
- name: 'Test Functionality Using Default Bash' | |
env: | |
TERMINAL_NO_USE_CNTRL_CHARS: '1' | |
run: bash test.sh --functionality | |
test-functionality-bash-min-compat: | |
name: 'Functionality (Bash 4.0)' | |
needs: test-system-compat | |
runs-on: ubuntu-latest | |
container: | |
image: ravencomputing/bash:4.0 | |
steps: | |
- name: 'Checkout' | |
uses: actions/checkout@v4 | |
- name: 'Test Functionality Using Bash 4.0' | |
env: | |
TERMINAL_NO_USE_CNTRL_CHARS: '1' | |
run: bash test.sh --functionality |