forked from openedx/openedx-atlas
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (44 loc) · 1.07 KB
/
test.yml
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
name: Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "**" ]
jobs:
shellspec-linux:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: install shellcheck
run: |
sudo apt-get update
sudo apt-get install -y shellcheck
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: install shellspec
run: |
brew tap shellspec/shellspec
brew install shellspec
- name: install getoptions
run: |
brew tap ko1nksm/getoptions
brew install getoptions
- name: run shellspec
run: shellspec
shellspec-mac:
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- name: install shellcheck
run: brew install shellcheck
- name: install shellspec
run: |
brew tap shellspec/shellspec
brew install shellspec
- name: install getoptions
run: |
brew tap ko1nksm/getoptions
brew install getoptions
- name: run shellspec
run: shellspec