Skip to content

ci: do not fail report workflow when reporting failed tests #18

ci: do not fail report workflow when reporting failed tests

ci: do not fail report workflow when reporting failed tests #18

GitHub Actions / JUnit report succeeded Mar 31, 2024 in 0s

12 passed, 1 failed and 0 skipped

Tests failed

❌ junit.xml

13 tests were completed in 6s with 12 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
twir-qotw-scraper::bin/twir-qotw-scraper 12✅ 1❌ NaNms

❌ twir-qotw-scraper::bin/twir-qotw-scraper

✅ tests::extracts_quote_trimmed
✅ tests::fails_creating_invalid_date
✅ tests::fails_parsing_invalid_date
✅ tests::finds_quote_of_the_week_heading
✅ tests::finds_quotes_of_the_week_heading
✅ tests::opens_existing_repo
✅ tests::parses_valid_date
✅ tests::passes_if_no_quotes_of_the_week_heading
✅ tests::refuses_to_clone_if_dir_exists
✅ tests::takes_quote_trimmed_from_remainder_with_call_to_action
✅ tests::takes_quote_trimmed_from_remainder_with_friendly_call_to_action
❌ tests::takes_quote_trimmed_from_remainder_with_next_heading
	Error: failed to find end of quote: Error(Error { input: "\n> The quote.\n\nBy some author\n\n#Next heading\n", code: TakeUntil })
✅ tests::clones_repo

Annotations

Check failure on line 0 in junit.xml

See this annotation in the file changed.

@github-actions github-actions / JUnit report

twir-qotw-scraper::bin/twir-qotw-scraper ► tests::takes_quote_trimmed_from_remainder_with_next_heading

Failed test found in:
  junit.xml
Error:
  Error: failed to find end of quote: Error(Error { input: "\n> The quote.\n\nBy some author\n\n#Next heading\n", code: TakeUntil })
Raw output
Error: failed to find end of quote: Error(Error { input: "\n> The quote.\n\nBy some author\n\n#Next heading\n", code: TakeUntil })

Location:
    src/main.rs:167:17