Skip to content

Upgrade to Rails v7.2 #992

Upgrade to Rails v7.2

Upgrade to Rails v7.2 #992

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
concurrency:
group: ${{github.workflow}}-${{github.event.pull_request.number || github.ref}}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:15-alpine
env:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: postgres
ports:
- 5432:5432
redis:
image: redis
ports:
- 6379:6379
strategy:
matrix:
edition:
- CE
- EE
mode:
- singleplayer
- multiplayer
env:
KEYGEN_LICENSE_FILE: ${{secrets.KEYGEN_LICENSE_FILE}}
KEYGEN_LICENSE_KEY: ${{secrets.KEYGEN_LICENSE_KEY}}
KEYGEN_EDITION: ${{matrix.edition}}
KEYGEN_MODE: ${{matrix.mode}}
KEYGEN_HOST: api.keygen.sh
SECRET_KEY_BASE: 1b39b6912d39c7dd412d9f5795dd9cdaed7f97d7d02cf0bdac7c9878830b16462af858027e2a51e9c63ff95edd505d461536829bbbce6bfb2db69963c014597a
ENCRYPTION_DETERMINISTIC_KEY: GZ5FU0dXHcFxJVqPVpZSihVVqiScvQNq
ENCRYPTION_PRIMARY_KEY: r9ay7kGB1p7pEtuRQ6r1gSEZhShPonMz
ENCRYPTION_KEY_DERIVATION_SALT: tCf2PKf9LZ6vgfYgf7sAXRg7sDNYj0DP
CF_ACCESS_KEY_ID: test
CF_SECRET_ACCESS_KEY: test
CF_ACCOUNT_ID: test
CF_BUCKET: test
CF_REGION: auto
AWS_ACCESS_KEY_ID: test
AWS_SECRET_ACCESS_KEY: test
AWS_BUCKET: test
AWS_REGION: us-east-2
DATABASE_URL: postgres://postgres:postgres@localhost:5432
REDIS_URL: redis://localhost:6379
RAILS_ENV: test
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2.4'
bundler-cache: true
- name: Setup
run: bundle exec rake test:setup
- name: Test
run: bundle exec rake test