Skip to content

browse historical leaderboards by months #99

browse historical leaderboards by months

browse historical leaderboards by months #99

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:12
ports: ["5432:5432"]
options: >-
--mount type=tmpfs,destination=/var/lib/postgresql/data
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_DB: plusone_test
env:
DATABASE_URL: postgres://postgres@localhost:5432
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- run: bin/rails test
mutant:
needs: test
runs-on: ubuntu-latest
services:
postgres:
image: postgres:12
ports: ["5432:5432"]
options: >-
--mount type=tmpfs,destination=/var/lib/postgresql/data
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_DB: plusone_test
env:
DATABASE_URL: postgres://postgres@localhost:5432
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- run: bin/mutant run