Skip to content

Bump net-http from 0.4.0 to 0.4.1 #496

Bump net-http from 0.4.0 to 0.4.1

Bump net-http from 0.4.0 to 0.4.1 #496

Workflow file for this run

name: Tests
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Set up PostgreSQL
uses: Harmon758/postgresql-action@v1.0.0
with:
postgresql user: test
postgresql password: password
postgresql db: pakotoa_test
- name: Rubocop
run: bundle exec rubocop
- name: Haml-lint
run: |
bundle exec haml-lint
- name: Prepare database
run: |
echo -e "test:\n adapter: postgresql\n url: postgres://test:password@localhost/pakotoa_test\n encoding: unicode\n pool: <%= ENV.fetch('RAILS_MAX_THREADS') { 5 } %>" > config/database.yml
RAILS_ENV=test bundle exec rails db:setup
- name: RSpec
run: |
RAILS_ENV=test bundle exec rails spec
- name: Cucumber
run: |
RAILS_ENV=test bundle exec cucumber