Skip to content

move theme button to top level menu again and make it available at all times, without the need to register #302

move theme button to top level menu again and make it available at all times, without the need to register

move theme button to top level menu again and make it available at all times, without the need to register #302

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
- name: Run RuboCop
run: bundle exec rubocop --parallel
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