Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/actions/check/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ runs:
- name: Skip flaky tests for jruby
if: ${{ inputs.flaky == 'true' }}
shell: bash
run: echo "SPEC_TAGS=-t '~flaky'" >> $GITHUB_ENV
run: echo "SPEC_TAGS=~flaky" >> $GITHUB_ENV

# The tag is quoted here rather than in GITHUB_ENV. A quote written into
# GITHUB_ENV becomes part of the value, and a bare ~flaky would undergo
# tilde expansion.
- name: Run tests
shell: bash
run: bundle exec rspec spec $SPEC_TAGS
run: bundle exec rspec spec ${SPEC_TAGS:+--tag "$SPEC_TAGS"}

- name: Run RuboCop
shell: bash
Expand Down
Loading