Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

👍 Introduce multiple orders API #24

👍 Introduce multiple orders API

👍 Introduce multiple orders API #24

Workflow file for this run

name: rspec
on:
push:
branches:
- master
pull_request:
jobs:
rspec:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [3.0, 3.1]
gemfile:
- rails_7_0
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
timeout-minutes: 5
services:
mysql:
image: mysql:5.7
ports:
- 3306:3306
env:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: create database
run: mysql --host 127.0.0.1 --port ${{ job.services.mysql.ports['3306'] }} -uroot -e "create database jinrai_test"
- name: RSpec
run: bundle exec rspec