Skip to content

Do not require unnecessary components #11

Do not require unnecessary components

Do not require unnecessary components #11

Workflow file for this run

name: Ruby
on:
push:
branches:
- main
- 'releases/*'
pull_request:
branches:
- main
- 'releases/*'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version-file: .ruby-version
- name: Install dependencies
run: bundle install
- name: Set environment variables
run: echo "HOST=localhost" >> $GITHUB_ENV
run: echo "REDIS_HOST=localhost:6379" >> $GITHUB_ENV

Check failure on line 31 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Ruby

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 31, Col: 9): 'run' is already defined

Check failure on line 31 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Ruby

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 31, Col: 9): 'run' is already defined
- name: Run tests
run: bundle exec rspec spec