Skip to content

Commit

Permalink
Add tests to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
LuigiR0jas committed Jul 5, 2024
1 parent cf00a71 commit 3cfc31a
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,22 @@ jobs:
- name: Run database consistency
run: |
bundle exec rails db:test:prepare
bundle exec database_consistency -c .database_consistency.todo.yml
bundle exec database_consistency -c .database_consistency.todo.yml
tests:
name: RSpec
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Setup DB
run: |
bundle exec rails db:test:prepare
- name: Assets Precompile
run: bundle exec rails assets:precompile
- name: Run tests
run: |
bundle exec rspec

0 comments on commit 3cfc31a

Please sign in to comment.