Skip to content

Nightly build posts results to slack app #244

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Feb 17, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
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
8 changes: 8 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,11 @@ jobs:
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
run: tox -e nightly # Run tox using latest master branch from py42/c42eventextractor
- name: Notify Slack Action
uses: ravsamhq/[email protected]
if: always()
with:
status: ${{ job.status }}
notify_when: 'failure'
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
2 changes: 1 addition & 1 deletion tests/test_bulk.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def test_generate_template_cmd_factory_when_using_defaults_returns_expected_comm
def test_run_bulk_process_calls_run(bulk_processor, bulk_processor_factory):
errors.ERRORED = False
run_bulk_process(func_with_one_arg, None)
assert bulk_processor.run.call_count
assert bulk_processor.run.call_count == 5


def test_run_bulk_process_creates_processor(bulk_processor_factory):
Expand Down