Skip to content

Commit 6886816

Browse files
committed
squash: grasping at straws
1 parent 7645e09 commit 6886816

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/actions/test_gem/action.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ runs:
7979
if: "${{ inputs.gem == 'opentelemetry-instrumentation-active_storage' }}"
8080
shell: bash
8181
run: sudo apt update && sudo apt install -y imagemagick
82+
8283
# Install ruby and bundle dependencies and cache!
8384
# ...but not for appraisals, sadly.
8485
- name: Install Ruby ${{ inputs.ruby }} with dependencies
@@ -87,31 +88,26 @@ runs:
8788
with:
8889
ruby-version: "${{ inputs.ruby }}"
8990
working-directory: "${{ steps.setup.outputs.gem_dir }}"
90-
bundler: "latest"
91-
bundler-cache: false
92-
93-
- shell: bash
94-
run: bundle install && bundle show
95-
working-directory: "${{ steps.setup.outputs.gem_dir }}"
9691

9792
# If we're using appraisals, do it all manually.
9893
- name: Install Ruby ${{ inputs.ruby }} without dependencies
9994
if: "${{ steps.setup.outputs.appraisals == 'true' }}"
10095
uses: ruby/[email protected]
10196
with:
10297
ruby-version: "${{ inputs.ruby }}"
103-
bundler: "latest"
104-
bundler-cache: false
10598
working-directory: "${{ steps.setup.outputs.gem_dir }}"
10699

107100
- name: Install dependencies and generate appraisals
108101
if: "${{ steps.setup.outputs.appraisals == 'true' }}"
109102
shell: bash
110103
run: |
111-
# 💎 Install dependencies and generate appraisals 💎
112-
bundle install --quiet --jobs=3 --retry=4
104+
echo "::group:: 💎 Install dependencies and generate appraisals 💎"
105+
106+
bundle install # --quiet --jobs=3 --retry=4
113107
bundle exec appraisal clean
114108
bundle exec appraisal generate
109+
110+
echo "::endgroup::"
115111
working-directory: "${{ steps.setup.outputs.gem_dir }}"
116112

117113
- name: Test Gem
@@ -127,7 +123,9 @@ runs:
127123
echo "::endgroup::"
128124
done
129125
else
126+
echo "::group::🔎 Running Tests Standalone"
130127
bundle exec rake test
128+
echo "::endgroup::"
131129
fi
132130
working-directory: "${{ steps.setup.outputs.gem_dir }}"
133131
env:

0 commit comments

Comments
 (0)