Skip to content

Commit

Permalink
debugの設定を消した
Browse files Browse the repository at this point in the history
  • Loading branch information
Tatsumi0000 committed Oct 1, 2023
1 parent 9f21bd5 commit d19acf2
Showing 1 changed file with 9 additions and 22 deletions.
31 changes: 9 additions & 22 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Run Rspec

on:
pull_request:

push:
branches:
- master
Expand All @@ -15,17 +15,16 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

defaults:
run:
working-directory: web/backend

jobs:
backend-ci:
runs-on: ubuntu-latest

defaults:
run:
working-directory: web/backend

container:
image: ghcr.io/tatsumi0000/starry-kids/backend:latest

services:
mysql:
image: mysql:8.0
Expand All @@ -39,34 +38,22 @@ jobs:
with:
sparse-checkout: |
web/backend
- uses: actions/cache@v3
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Debug
run: |
ls
pwd
cd web
ls
cd backend
ls
- name: Bundle install
run: |
ls
pwd
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: DB setup
run: |
bin/rails db:create
- name: Run rspec
run: bundle exec rspec

0 comments on commit d19acf2

Please sign in to comment.