Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork939
Commit75cf540
committed
Keep sugar for local use, but use instafail on CI
There are two benefits of the pytest-sugar plugin:1. Pretty output.2. Show details on each failure immediately instead of at the end.The first benefit is effectively local-only, because extra newlinesare appearing when it runs on CI, both with and without -v.The second benefit applies both locally and on CI.So this adds the pytest-instafail plugin and uses it on CI to getthe second benefit. It is not set up to run automatically, andpytest-sugar still is (though no longer forced), so local testingretains no benefit and we don't have a clash.The name "instafail" refers only to instantly *seeing* failures:it does not cause the pytest runner to stop earlier than otherwise.1 parent680d795 commit75cf540
File tree
4 files changed
+4
-3
lines changed- .github/workflows
4 files changed
+4
-3
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
64 | 64 |
| |
65 | 65 |
| |
66 | 66 |
| |
67 |
| - | |
| 67 | + |
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
81 |
| - | |
| 81 | + | |
82 | 82 |
| |
83 | 83 |
| |
84 | 84 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
| 8 | + | |
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
8 | 9 |
|
0 commit comments
Comments
(0)