-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (45 loc) · 1.08 KB
/
tests.yml
File metadata and controls
49 lines (45 loc) · 1.08 KB
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
name: Run tests
on:
pull_request_target:
types:
- opened
- edited
- reopened
- synchronize
- review_requested
branches:
- 'main'
- 'dev'
jobs:
run_tests:
runs-on: ubuntu-latest
steps:
- name: Install Ruby
uses: ruby/setup-ruby@v1.180.1
with:
ruby-version: '3.3'
- name: Checkout Bashly
uses: actions/checkout@v2
with:
repository: 'DannyBen/bashly'
ref: 'dae0394932687b99d1d7d35685b0bb20ad9c97e2'
path: 'bashly'
- name: Build Bashly
run: |
cd bashly
gem build bashly.gemspec
gem install bashly-*.gem
cd ..
- name: Install Shellspec
run: |
curl -fsSL https://git.io/shellspec | sh -s 0.28.0 --yes
- name: Checkout pls
uses: actions/checkout@v2
with:
repository: 'codevogel/pls'
- name: Build pls
run: |
bashly generate
- name: Run Shellspec
run: |
shellspec --shell bash --warning-as-failure -f d