Skip to content

Add attached patches to message view #37

Add attached patches to message view

Add attached patches to message view #37

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
- name: Prepare database
run: bin/rails db:prepare
- name: Run specs
run: bundle exec rspec