adds each to SearchOptions; moves show_optgroups to SearchOptions #99
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests | |
on: push | |
jobs: | |
# Run tests | |
test-ruby: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Create .env file | |
run: cat env.* > .env | |
- name: Load .env file | |
uses: xom9ikk/dotenv@v2 | |
- name: Set up Ruby 3.2 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.2' | |
bundler-cache: true | |
- name: Run linter for Ruby | |
run: bundle exec standardrb | |
- name: Run tests | |
run: bundle exec rspec | |
test-js: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: npm | |
- run: npm ci | |
- name: run tests | |
run: npm run test:mocha |