Skip to content

Commit

Permalink
Update GH Action so nektos/act works again for local testing
Browse files Browse the repository at this point in the history
  • Loading branch information
abevoelker committed Apr 28, 2024
1 parent b2e195b commit 8e9e88d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,21 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
rubygems: latest
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Install Yarn
run: npm install -g yarn
- name: Run gem tests
run: |
bundle config set --local path '/tmp/gem-tests'
bundle config set --local path ".$(mktemp -u -d)"
bundle
bundle exec rake
- name: Set up new Rails dummy app
working-directory: ./spec
env:
RAILS_NEW_GEMFILE: dummy_app_config/gemfiles/Gemfile-rails-${{ matrix.rails-version }}
run: |
bundle config set --local path '/tmp/system-tests'
bundle config set --local path ".$(mktemp -u -d)"
BUNDLE_GEMFILE=$RAILS_NEW_GEMFILE bundle
rails new dummy_app --database=sqlite3 --skip-active-storage --skip-action-cable --skip-spring --skip-listen --skip-test
Expand Down

0 comments on commit 8e9e88d

Please sign in to comment.