Skip Ruby setup for non-Ruby tests

Conversely, these tests are JS-only.
This commit is contained in:
David Cook
2024-04-29 16:10:48 +10:00
parent 442991ac7b
commit 7c53c25aaf

View File

@@ -476,16 +476,6 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Setup redis
uses: supercharge/redis-github-action@1.4.0
with:
redis-version: 6
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- uses: actions/setup-node@v3
with:
node-version-file: .node-version
@@ -493,10 +483,6 @@ jobs:
- name: Install JS dependencies
run: yarn install --frozen-lockfile
- name: Set up database
run: |
bundle exec rake db:create
bundle exec rake db:schema:load
- name: Run JS tests
run: bundle exec rake karma:run