Skip to content

CI

CI #7

Workflow file for this run

name: Test
on:
- push
jobs:
test:
runs-on: ubuntu-latest
name: Tests
services:
db:
image: mariadb:10
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
ports:
- 3306:3306
env:
MYSQL_DATABASE: archiving_test
MYSQL_ALLOW_EMPTY_PASSWORD: 1
env:
DATABASE_URL: "mysql2://root:@127.0.0.1:3306/archiving_test"
RAILS_ENV: test
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- run: rake test