Skip to content
Open
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
9 changes: 8 additions & 1 deletion .github/workflows/smoke-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,18 @@ jobs:
with:
repository: eliotsykes/rspec-rails-examples
path: examples/
- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.2'
bundler-cache: true
- run: gem install rspec_junit_formatter
- run: mkdir -p tmp/junit/
- run: rspec --format RspecJunitFormatter --out tmp/junit/rspec.xml
- uses: ./
id: split-tests
name: Run this action
with:
junit-path: examples/
junit-path: examples/tmp/junit/rspec.xml
glob: examples/spec/**/*_spec.rb
split-total: 5
split-index: 1
Expand Down