add delete chart, dashboard, dataset and database #2
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: Ruby CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
name: Run tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby-version: ['2.7', '3.0', '3.1', '3.2'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby ${{ matrix.ruby-version }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: true # This will cache installed gems automatically | |
- name: Install dependencies | |
run: | | |
gem install bundler | |
bundle install | |
- name: Run tests | |
run: bundle exec rspec | |
- name: Run Rubocop | |
run: bundle exec rubocop |