Skip to content

Bump rexml from 3.3.0 to 3.3.2 #348

Bump rexml from 3.3.0 to 3.3.2

Bump rexml from 3.3.0 to 3.3.2 #348

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
name: Rspec
on: push
env:
RAILS_ENV: test
PGHOST: localhost
PGPORT: 5432
PGDATABASE: postgres
PGUSER: postgres
PGPASSWORD: postgres
jobs:
test:
runs-on: ubuntu-20.04
services:
postgres:
image: postgres:12.3
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- 5432:5432
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Prepare database
run: bundle exec rails db:prepare
- name: Run tests
run: bundle exec rails spec