File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 7
7
build-and-test :
8
8
name : Build and Test
9
9
runs-on : ubuntu-latest
10
+ strategy :
11
+ matrix :
12
+ ruby : ['2.7.1']
10
13
steps :
11
14
- name : Check out code
12
15
uses : actions/checkout@v2
13
16
14
17
- name : Setup Ruby
15
18
uses : ruby/setup-ruby@v1
16
19
with :
17
- ruby-version : 2.7.1
20
+ ruby-version : ${{ matrix.ruby }}
18
21
19
22
- name : Install Ruby Dependencies
20
23
run : bundle install
21
24
22
- - name : Run RSpec
25
+ - name : Run tests
23
26
env :
24
27
SANDBOX_API_KEY : ${{ secrets.SANDBOX_API_KEY }}
25
- run : bundle exec rspec
28
+ run : make test
26
29
27
30
- name : Notify slack
28
31
uses : kpritam/slack-job-status-action@v1
29
32
with :
33
+ if : ${{ always() }}
30
34
job-status : ${{ job.status }}
31
35
slack-bot-token : ${{ secrets.SLACK_BOT_TOKEN }}
32
36
channel : github-actions
Original file line number Diff line number Diff line change @@ -38,9 +38,10 @@ build/
38
38
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
39
39
.rvmrc
40
40
41
- # OpenAPI generator ignores are defined alongside the generation scripts
41
+ # Ignore openapi- generator artifacts
42
42
.openapi-generator-ignore
43
43
/.openapi-generator /
44
+ git_push.sh
44
45
45
46
.byebug_history
46
47
.DS_Store
You can’t perform that action at this time.
0 commit comments