Fix text fields in admin area #55
Workflow file for this run
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: "Coveralls" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
coveralls: | |
strategy: | |
matrix: | |
ruby-version: | |
- "3.3" | |
rails-version: | |
- "7.1" | |
continue-on-error: [true] | |
name: ${{ format('Coverage (Ruby {0}, Rails {1})', matrix.ruby-version, matrix.rails-version) }} | |
runs-on: ubuntu-latest | |
continue-on-error: ${{ matrix.continue-on-error }} | |
env: | |
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.rails-version }}.gemfile | |
RAILS_ENV: test | |
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
cache: npm | |
- run: npm ci | |
- name: Install Ruby ${{ matrix.ruby-version }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: true | |
- name: Update surfer gem | |
run: bundle update comfortable_media_surfer | |
- name: Compile assets | |
run: bin/bundle exec rails comfy:compile_assets | |
- name: Run tests, report coverage | |
run: | | |
bin/bundle exec rails db:drop | |
bin/bundle exec rails db:create | |
bin/bundle exec rails db:migrate | |
bin/bundle exec rails test:db |