-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (43 loc) · 1.1 KB
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: 'Test'
on:
push:
branches:
- '**'
tags-ignore:
- 'v*'
workflow_call:
jobs:
test-system-compat:
name: 'System Compatibility'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v3
- name: 'Test System Compatibility'
env:
TERMINAL_NO_USE_CNTRL_CHARS: '1'
run: ./test.sh --compatibility
test-functionality:
name: 'Functionality'
needs: test-system-compat
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v3
- 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@v3
- name: 'Test Functionality Using Bash 4.0'
env:
TERMINAL_NO_USE_CNTRL_CHARS: '1'
run: bash test.sh --functionality