Skip to content

Fix flaky tests

Fix flaky tests #541

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
tests:
runs-on: ubuntu-latest
env:
RAILS_ENV: test
strategy:
matrix:
ruby: ['3.2']
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Ruby and dependencies
uses: ruby/[email protected]
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
- name: Install JS dependencies
run: yarn install --frozen-lockfile
- name: Set up the database
run: bin/rails db:test:prepare
- name: Run CI rake task
run: RAILS_ENV=test NODE_ENV=development bin/rake ci