summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2021-02-07 03:12:33 -0700
committerDan Allen <dan.j.allen@gmail.com>2021-02-07 03:12:33 -0700
commite694b9d34fed5811210f868d7ad50bc00f091829 (patch)
tree1aa2a7446802a45e108d777d159f42747ff22c4a /.github
parentf544f7bd56aef340109b20351d15e3324283105c (diff)
use portable commands to enable coverage in CI
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml13
1 files changed, 7 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 177eff0d..ead8bad9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -75,12 +75,13 @@ jobs:
- name: Configure Bundler
run: |
bundle config --local path .bundle/gems
- if [ -n "${{ matrix.primary }}" ]; then
- bundle config --local without docs lint
- echo 'COVERAGE=deep' >> $GITHUB_ENV
- else
- bundle config --local without coverage docs lint
- fi
+ bundle config --local without coverage docs lint
+ - name: Enable coverage
+ if: matrix.primary
+ run: |
+ bundle config --local unset without
+ bundle config --local without docs lint
+ echo 'COVERAGE=deep' >> $GITHUB_ENV
- name: Install Ghostscript and Poppler (Linux)
if: matrix.os == 'ubuntu-latest'
run: |