Skip to content

Commit

Permalink
Run generator tests only when generators were changed
Browse files Browse the repository at this point in the history
  • Loading branch information
skryukov committed Nov 28, 2024
1 parent 3a3cf8e commit 78d48a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/generators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ jobs:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Run generator tests
run: bundle exec rspec --tag type:generator
env:
RAILS_VERSION: ${{ matrix.rails }}

- name: Set up Node
uses: actions/setup-node@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ jobs:
RAILS_VERSION: ${{ matrix.rails }}

- name: Run tests
run: bundle exec rspec
run: bundle exec rspec --tag ~type:generator
env:
RAILS_VERSION: ${{ matrix.rails }}

0 comments on commit 78d48a9

Please sign in to comment.