Skip to content

Commit 393f8f9

Browse files
committed
Run the specs before publishing the release
1 parent c811def commit 393f8f9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ jobs:
1919
- name: Build Gem
2020
run: gem build -o patch_ruby.gem patch_ruby.gemspec
2121

22+
- name: Run RSpec
23+
env:
24+
PATCH_RUBY_API_KEY: ${{ secrets.SANDBOX_API_KEY }}
25+
run: bundle exec rspec
26+
2227
- name: Push to RubyGems
2328
env:
2429
GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }}

0 commit comments

Comments
 (0)