24 Commits
Author SHA1 Message Date
Sylvestre Ledru 2ff48db61c ci: create the GitHub release as a draft and check tag vs Cargo.toml version (#111) 2026-08-27 11:30:27 +02:00
renovate[bot] 813015d55b chore(deps): update dawidd6/action-download-artifact action to v24 2026-08-21 13:20:45 +02:00
renovate[bot] 5882b3da26 chore(deps): update dawidd6/action-download-artifact action to v23 2026-08-16 10:08:22 +02:00
Sylvestre Ledru 6f5439354d add cargo dist to ship binaries (#93) 2026-08-08 22:45:29 +02:00
renovate[bot] 3e5552d8f7 chore(deps): update mozilla-actions/sccache-action action to v0.0.11 2026-07-29 13:51:38 +02:00
renovate[bot] 6c56522d42 chore(deps): update codspeedhq/action action to v5 2026-07-29 13:29:04 +02:00
renovate[bot] 5574f2046f chore(deps): update moonrepo/setup-rust action to v1 2026-07-26 13:39:03 +02:00
renovate[bot] bd0a98ab07 chore(deps): update dawidd6/action-download-artifact action to v21 2026-07-26 13:35:19 +02:00
renovate[bot] 70e58ed0e2 chore(deps): update actions/github-script action to v9 2026-07-26 13:33:59 +02:00
renovate[bot] 08076167dc chore(deps): update codecov/codecov-action action to v7 2026-07-26 13:26:52 +02:00
renovate[bot] f7542c5905 chore(deps): update github artifact actions 2026-07-26 12:25:16 +02:00
renovate[bot] f66a2d6f2a chore(deps): update actions/checkout action to v7 2026-07-26 12:23:46 +02:00
Sylvestre Ledru 670669ea3f GnuTests: emit test-summary artifact for the grep-tracking repo 2026-06-28 14:03:02 +02:00
Sylvestre Ledru d28bf769a1 Merge pull request #7 from uutils/add-differential-fuzzer
fuzz: add differential fuzzer against GNU grep
2026-06-05 08:29:30 +02:00
oech3 bc416c6d8b GnuTests: publish binary from main 2026-06-03 00:05:24 +09:00
Sylvestre Ledru 9598faf708 fuzz: add differential fuzzer against GNU grep
Add a cargo-fuzz harness (fuzz_grep) that runs uu_grep and GNU grep on
the same generated args/input and panics on any divergence, using the
vendored uufuzz crate (adapted from uutils/coreutils to depend on
crates.io uucore rather than a path).

A CI workflow (.github/workflows/fuzzing.yml) builds the uufuzz
examples, builds the fuzzer, and runs it for 60s. fuzz_grep is marked
should_pass: false / continue-on-error since it currently surfaces real
GNU-compatibility gaps (e.g. uu_grep rejects a repeated -m, GNU accepts).
2026-06-02 10:13:13 +02:00
codspeed-hq[bot] 079619ee44 Add CodSpeed performance benchmarks 2026-05-31 07:59:22 +00:00
Sylvestre Ledru f7813500c9 Merge pull request #8 from uutils/gnu-test
run the gnu testsuite in the ci
2026-05-29 21:43:41 +02:00
Sylvestre Ledru e885f66523 ci: post GNU grep testsuite comparison as a PR comment
Add a GnuComment workflow that runs after GnuTests completes on a pull
request, downloads the 'comment' artifact (PR number + comparison text), and
posts it as a PR comment. Mirrors ../sed's GnuComment workflow.
2026-05-29 18:43:11 +02:00
Sylvestre Ledru 10bfa405dc ci: add GnuTests workflow running the GNU grep testsuite
Add a GnuTests workflow that, on push and PR, fetches the GNU grep release
tarball, builds the Rust grep binary, runs util/run-gnu-testsuite.sh, and
uploads the JSON results. An aggregate job compares the run against the
reference summary from the default branch (util/compare_test_results.py,
borrowed from ../sed) and fails only on new, non-intermittent regressions;
known-flaky tests are listed in .github/workflows/ignore-intermittent.txt.
2026-05-29 18:43:11 +02:00
Sylvestre Ledru 3bf91e530e ci: use absolute LLVM_PROFILE_FILE path to fix 0% coverage
The test suite spawns the grep binary inside per-test temporary
directories (via uutests). With a relative LLVM_PROFILE_FILE, each
subprocess wrote its .profraw into that tempdir, which gets deleted
when the test ends, so the binary executing the src/ code left no
coverage data and grcov reported every line as a miss (0%).

Anchoring the path to the workspace root makes the profraw files
survive, raising reported coverage from 0% to ~96%.
2026-05-29 00:02:47 +02:00
Sylvestre Ledru 61e5e1dd8d ci: move fmt/clippy into dedicated code-quality workflow 2026-05-28 21:15:10 +02:00
Sylvestre Ledru 6a2cb792a7 ci: add code coverage job (grcov + Codecov) across all OSes 2026-05-28 21:13:32 +02:00
Sylvestre Ledru a1396f959b ci: run build/test/fmt/clippy 2026-05-28 21:10:04 +02:00