Skip to content

rg: not found not found in tests #7729

Closed

Description

@fregante

From: https://github.com/refined-github/refined-github/actions/runs/10229705383/job/28303666169?pr=7655

 ✓ source/github-helpers/index.test.ts  (4 tests) 17ms
 ✓ test/shorten-link.test.ts  (5 tests) 17ms
 ✓ source/helpers/show-whitespace-on-line.test.ts  (3 tests) 42ms
 ✓ source/github-helpers/search-query.test.ts  (14 tests) 8ms
 ✓ source/github-helpers/parse-backticks.test.ts  (1 test) 2ms
 ✓ source/helpers/feature-utils.test.ts  (1 test) 3ms
 ✓ source/helpers/clean-commit-message.test.ts  (1 test) 3ms
 ✓ source/helpers/is-low-quality-comment.test.ts  (1 test) 4ms
 ✓ source/github-helpers/pr-branches.test.ts  (1 test) 5ms
/bin/sh: 1: rg: not found
/bin/sh: 1: rg: not found
/bin/sh: 1: rg: not found
/bin/sh: 1: rg: not found
/bin/sh: 1: rg: not found
/bin/sh: 1: rg: not found
 ✓ source/helpers/get-items-between.test.ts  (1 test) 4ms
/bin/sh: 1: rg: not found
/bin/sh: 1: rg: not found
/bin/sh: 1: rg: not found
 ✓ source/github-helpers/hotkeys.test.ts  (3 tests) 3ms
/bin/sh: 1: rg: not found
/bin/sh: 1: rg: not found
/bin/sh: 1: rg: not found
/bin/sh: 1: rg: not found
/bin/sh: 1: rg: not found
/bin/sh: 1: rg: not found
/bin/sh: 1: rg: not found
/bin/sh: 1: rg: not found

Two problems to be solved:

  • The tests should output a better message than rg: not found. I'm ok with them not failing because they're not required for occasional contributors
  • The tests SHOULD run on GitHub Action, so ripgrep should be installed before running the tests.

Activity

  1. added
    meta
    small
    on Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedmetasmall

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions