Skip to content

docs: update extra contents #7

docs: update extra contents

docs: update extra contents #7

Workflow file for this run

---
name: Tests
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
tests:
name: RSpec
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['3.0', '3.1', '3.2']
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Create database
run: cd spec/dummy_rails && bundle exec rails db:create
- name: Apply migrations
run: cd spec/dummy_rails && bundle exec rails db:migrate
- name: Run tests
env:
RUBYOPT: '-rbundler/setup -rrbs/test/setup'
RBS_TEST_TARGET: 'TinyAdmin::*'
run: bin/rspec --profile