Skip to content

Bump puma from 6.4.2 to 6.4.3 #99

Bump puma from 6.4.2 to 6.4.3

Bump puma from 6.4.2 to 6.4.3 #99

Workflow file for this run

name: main
on: ["push"]
jobs:
tests:
name: Rspec
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: math_trainer_test
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Setup Chrome
run: |
sudo apt-get update
sudo apt-get install -y google-chrome-stable
- name: Set up chromedriver
uses: nanasess/setup-chromedriver@v2
- name: Assets Precompile
run: bundle exec rake assets:precompile
- name: execute migrations
run: bundle exec rake db:migrate
env:
RAILS_ENV: test
DATABASE_URL: postgres://postgres:postgres@localhost:5432/math_trainer_test
- name: Run the tests
run: bin/rspec
env:
RAILS_ENV: test
DATABASE_URL: postgres://postgres:postgres@localhost:5432/math_trainer_test