Skip to content

Change of the settings order as the Danger Zone should always be at the total end #86

Change of the settings order as the Danger Zone should always be at the total end

Change of the settings order as the Danger Zone should always be at the total end #86

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:16
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: hackorum_test
ports: ["5432:5432"]
options: >-
--health-cmd="pg_isready -U postgres -d hackorum_test"
--health-interval=10s
--health-timeout=5s
--health-retries=5
env:
RAILS_ENV: test
DATABASE_URL: postgres://postgres:postgres@localhost:5432/hackorum_test
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
- name: Install dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -y build-essential libpq-dev pkg-config nodejs npm
NPM_CONFIG_PRODUCTION=false npm ci --production=false
npm run build:css
- name: Prepare database
run: bin/rails db:prepare
- name: Run specs
run: bundle exec rspec