Skip to content

Document how to disable Fixtures #248

Document how to disable Fixtures

Document how to disable Fixtures #248

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
rails:
- "8.0"
- "main"
ruby:
- "3.3"
- "3.4"
include:
- rails: "7.2"
ruby: "3.1"
env:
RAILS_ENV: test
RAILS_VERSION: ${{ matrix.rails }}
name: ${{ format('rails-{0} ruby-{1}', matrix.rails, matrix.ruby) }}
steps:
- uses: actions/checkout@v4
- run: rm Gemfile.lock
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Parallel Tests
run: bin/rails test
- name: Single Process Tests
run: bin/rails test
env:
PARALLEL_TEST_THRESHOLD: "10000"
- name: Run seeds
run: bin/rails db:seed:replant
- name: Rerun seeds
run: bin/rails db:seed