Skip to content

Commit

Permalink
Prevent tracing on specs except for example_spec
Browse files Browse the repository at this point in the history
  • Loading branch information
YusukeIwaki committed Feb 19, 2024
1 parent 0b6bc6a commit fba01fb
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ jobs:
export PLAYWRIGHT_CLI_VERSION=$(bundle exec ruby -e 'require "playwright"; puts Playwright::COMPATIBLE_PLAYWRIGHT_VERSION.strip')
npm install playwright@${PLAYWRIGHT_CLI_VERSION} || npm install playwright@next
./node_modules/.bin/playwright install
- run: bundle exec rspec spec/feature/
- run: bundle exec rspec spec/feature/example_spec.rb
env:
PLAYWRIGHT_CLI_EXECUTABLE_PATH: ./node_modules/.bin/playwright
timeout-minutes: 3
- run: bundle exec rspec spec/feature/ --exclude-pattern "spec/feature/example_spec.rb"
env:
PLAYWRIGHT_CLI_EXECUTABLE_PATH: ./node_modules/.bin/playwright
timeout-minutes: 3
Expand Down Expand Up @@ -60,7 +64,11 @@ jobs:
export PLAYWRIGHT_CLI_VERSION=$(bundle exec ruby -e 'require "playwright"; puts Playwright::COMPATIBLE_PLAYWRIGHT_VERSION.strip')
npm install playwright@${PLAYWRIGHT_CLI_VERSION} || npm install playwright@next
./node_modules/.bin/playwright install
- run: bundle exec rspec spec/feature/
- run: bundle exec rspec spec/feature/example_spec.rb
env:
PLAYWRIGHT_CLI_EXECUTABLE_PATH: ./node_modules/.bin/playwright
timeout-minutes: 3
- run: bundle exec rspec spec/feature/ --exclude-pattern "spec/feature/example_spec.rb"
env:
PLAYWRIGHT_CLI_EXECUTABLE_PATH: ./node_modules/.bin/playwright
timeout-minutes: 3
Expand Down

0 comments on commit fba01fb

Please sign in to comment.