Skip to content

Commit 736861a

Browse files
committed
Fix health check
1 parent c8b4f10 commit 736861a

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/health_check.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,30 @@ jobs:
77
build-and-test:
88
name: Build and Test
99
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
ruby: ['2.7.1']
1013
steps:
1114
- name: Check out code
1215
uses: actions/checkout@v2
1316

1417
- name: Setup Ruby
1518
uses: ruby/setup-ruby@v1
1619
with:
17-
ruby-version: 2.7.1
20+
ruby-version: ${{ matrix.ruby }}
1821

1922
- name: Install Ruby Dependencies
2023
run: bundle install
2124

22-
- name: Run RSpec
25+
- name: Run tests
2326
env:
2427
SANDBOX_API_KEY: ${{ secrets.SANDBOX_API_KEY }}
25-
run: bundle exec rspec
28+
run: make test
2629

2730
- name: Notify slack
2831
uses: kpritam/slack-job-status-action@v1
2932
with:
33+
if: ${{ always() }}
3034
job-status: ${{ job.status }}
3135
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
3236
channel: github-actions

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,10 @@ build/
3838
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
3939
.rvmrc
4040

41-
# OpenAPI generator ignores are defined alongside the generation scripts
41+
# Ignore openapi-generator artifacts
4242
.openapi-generator-ignore
4343
/.openapi-generator/
44+
git_push.sh
4445

4546
.byebug_history
4647
.DS_Store

0 commit comments

Comments
 (0)