Skip to content

chore(deps-dev): bump vite from 5.2.13 to 5.3.0 (#614) #431

chore(deps-dev): bump vite from 5.2.13 to 5.3.0 (#614)

chore(deps-dev): bump vite from 5.2.13 to 5.3.0 (#614) #431

Workflow file for this run

name: tests
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
run-tests:
runs-on: ubuntu-latest
services:
db:
image: postgres:10.13
ports:
- 5432:5432
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: doctors_test
env:
CI: true
RAILS_ENV: test
DATABASE_URL: postgres://postgres:password@localhost:5432/doctors_test
TZ: America/Mexico_City
steps:
- name: Checkout πŸ—
uses: actions/checkout@v4
- name: Setup Node.js πŸ—
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Node.js ⌨
run: npm install
- name: Install Ruby ♦
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
cache-version: 1
- name: Run linter πŸ‘Ÿ
run: bundle exec rubocop --parallel --display-time
- name: Setup database πŸ—
run: bin/rails db:schema:load
- name: Run test suite πŸ‘Ÿ
run: bundle exec rspec
- name: Publish code coverage πŸš€
uses: paambaati/codeclimate-action@v6.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageLocation: ${{github.workspace}}/coverage/coverage.json:simplecov
debug: true