Skip to content

Commit

Permalink
Github actions for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rjurado01 committed Jul 10, 2021
1 parent 6dc9f74 commit fba5417
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 8 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Tests
on: [push]
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:11
ports:
- 5432:5432
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
mongodb:
image: mongo
ports:
- 27017:27017
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7 # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- run: bundle exec rspec
8 changes: 0 additions & 8 deletions .travis.yml

This file was deleted.

0 comments on commit fba5417

Please sign in to comment.