Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejb2k committed Sep 5, 2023
1 parent 7ed07a1 commit cd06892
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/rubyonrails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
pull_request:
branches: [ main ]
jobs:
test:
build:
runs-on: ubuntu-latest
services:
postgres:
Expand All @@ -27,6 +27,10 @@ jobs:
with:
bundler-cache: true
- name: Set up database schema
run: bin/rails db:schema:load
run: |
bin/rails db:schema:load
bin/rails db:seed
- name: Run tests
run: bundle exec rspec
- name: Lint code
run: bundle exec rubocop

0 comments on commit cd06892

Please sign in to comment.