Skip to content

Commit 5883104

Browse files
committed
Install ggrep during mac tests
1 parent ed6f2a1 commit 5883104

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ jobs:
2323
- 'ubuntu-latest'
2424
steps:
2525
- uses: 'actions/checkout@v2'
26+
with:
27+
fetch-depth: 1
28+
- name: 'Install Dependencies'
29+
run: './test/install_deps.sh'
2630
- name: 'Run all tests'
2731
run: './test/run.sh'
2832
shell: 'bash'
@@ -41,6 +45,10 @@ jobs:
4145
- 'windows-2019'
4246
steps:
4347
- uses: 'actions/checkout@v2'
48+
with:
49+
fetch-depth: 1
50+
- name: 'Install Dependencies'
51+
run: './test/install_deps.sh'
4452
- name: 'Run all tests'
4553
run: './test/run.sh'
4654
shell: 'bash'

test/install_deps.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
set -uo pipefail;
3+
4+
if [[ $(uname) == 'Darwin' ]] && [ $(which brew) ]; then
5+
brew install grep;
6+
fi;

0 commit comments

Comments
 (0)