Skip to content

Commit

Permalink
Fix health check
Browse files Browse the repository at this point in the history
  • Loading branch information
pcothenet committed Sep 1, 2021
1 parent c8b4f10 commit 736861a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/health_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,30 @@ jobs:
build-and-test:
name: Build and Test
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.7.1']
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.1
ruby-version: ${{ matrix.ruby }}

- name: Install Ruby Dependencies
run: bundle install

- name: Run RSpec
- name: Run tests
env:
SANDBOX_API_KEY: ${{ secrets.SANDBOX_API_KEY }}
run: bundle exec rspec
run: make test

- name: Notify slack
uses: kpritam/slack-job-status-action@v1
with:
if: ${{ always() }}
job-status: ${{ job.status }}
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
channel: github-actions
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ build/
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc

# OpenAPI generator ignores are defined alongside the generation scripts
# Ignore openapi-generator artifacts
.openapi-generator-ignore
/.openapi-generator/
git_push.sh

.byebug_history
.DS_Store

0 comments on commit 736861a

Please sign in to comment.