Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix health check
  • Loading branch information
pcothenet committed Sep 1, 2021
commit 603ded14922089fd105fef4b2ad5e04636516086
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,18 @@ jobs:
build-and-test:
runs-on: ubuntu-latest
name: Python Library tests
strategy:
matrix:
python: ['3.6']
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.6'
python-version: ${{ matrix.python }}

- name: Run tests
env:
SANDBOX_API_KEY: ${{ secrets.SANDBOX_API_KEY }}
Expand All @@ -23,6 +27,7 @@ jobs:
- name: Notify Slack
uses: kpritam/slack-job-status-action@v1
with:
if: ${{ always() }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we care about success cases? If we're focused on keeping all alerts and notifications actionable, how about we just do failure()? Not a blocker, more a consideration to keep the noise down

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, should be failure(), looks I forgot that repo.

job-status: ${{ job.status }}
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
channel: github-actions
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,7 @@ target/
#Ipython Notebook
.ipynb_checkpoints

git_push.sh
# Ignore openapi-generator artifacts
.openapi-generator-ignore
/.openapi-generator/
git_push.sh