brainglobe / brainglobe-stitch

A napari plugin for stitching large tiled 3D imaging datasets
BSD 3-Clause "New" or "Revised" License
7 stars 0 forks source link

Add on-failure workflow to test and deploy #19

Closed IgorTatarnikov closed 2 weeks ago

IgorTatarnikov commented 2 weeks ago

This adds an extra job that runs only if the workflow was triggered via schedule. This job should send a slack notification if the scheduled tests fail.

To test this, I've temporarily made the cron job run every 10 mins, and added a test that always fails.

This needs to be merged to main to test. After testing I'll make a new PR reverting the cron job schedule and removing the failing test.

If this works, we need to put the webhook URL as an organization secret and I'll update the test_and_deploy.yml for all BrainGlobe repos.

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.20%. Comparing base (dc35e8d) to head (4d4c9f6).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #19 +/- ## ======================================= Coverage 95.20% 95.20% ======================================= Files 6 6 Lines 626 626 ======================================= Hits 596 596 Misses 30 30 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.