Skip to content
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

Use package to determine path #61

Merged
merged 8 commits into from
Feb 27, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
15 changes: 14 additions & 1 deletion action.test.fixtures.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const finishedWithFailures = {
status: 'completed',
conclusion: 'failure',
output: {
title: '17 tests run, 1 skipped, 11 failed.',
title: '19 tests run, 1 skipped, 12 failed.',
summary: '',
annotations: [
{
Expand Down Expand Up @@ -99,6 +99,19 @@ const finishedWithFailures = {
raw_details:
"action.surefire.report.email.InvalidEmailAddressException: Invalid email address '.user@host.com'\n\tat action.surefire.report.email.EmailAddressTest.expectException(EmailAddressTest.java:74)\n\tat action.surefire.report.email.EmailAddressTest.shouldNotAllowDotsInWeirdPlaces(EmailAddressTest.java:66)"
},
{
path:
'tests/evil_twins/src/test/java/action/surefire/report/twin/second/TwinTest.java',
start_line: 13,
end_line: 13,
start_column: 0,
end_column: 0,
annotation_level: 'failure',
title: 'TwinTest.should_always_fail',
message: "Expected: \"Good Twin\"\n but: was \"Evil Twin\"",
raw_details:
"java.lang.AssertionError: \n\nExpected: \"Good Twin\"\n but: was \"Evil Twin\"\n\tat action.surefire.report.twin.second.TwinTest.should_always_fail(TwinTest.java:13)"
},
{
path: 'tests/utils/src/test/java/action/surefire/report/calc/CalcUtilsTest.kt',
start_line: 27,
Expand Down
2 changes: 1 addition & 1 deletion action.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ describe('action should work', () => {
await action();
scope.done();

expect(failed).toBe('There were 11 failed tests');
expect(failed).toBe('There were 12 failed tests');
});
});

Expand Down
Loading