This repository has been archived by the owner on Oct 16, 2023. It is now read-only.
Bump puma from 6.3.1 to 6.4.0 #865
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Verify | |
on: [push] | |
jobs: | |
tests: | |
name: Tests | |
runs-on: ubuntu-20.04 | |
services: | |
postgres: | |
image: postgres:13 | |
env: | |
POSTGRES_USER: postgres | |
POSTGRES_DB: synka_test | |
POSTGRES_PASSWORD: "password" | |
ports: ["5432:5432"] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
cache: "yarn" | |
- name: Install packages | |
run: | | |
yarn install --pure-lockfile | |
- name: Setup test database | |
env: | |
RAILS_ENV: test | |
PGHOST: localhost | |
PGUSER: myapp | |
run: | | |
bin/rails db:setup | |
- name: Run tests | |
env: | |
BLINKA_PATH: ./results.json | |
run: bundle exec rails test:all | |
- name: Blinka - Archive | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: blinka | |
path: | | |
./results.json | |
./tmp/screenshots |