Skip to content

Commit

Permalink
chore: add ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
silva4dev committed Mar 26, 2024
1 parent 6dbc61b commit e194fcc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
POSTGRES_PASSWORD: 123456
POSTGRES_PORT: 5432
POSTGRES_HOST: postgres
DRIVER: postgres

strategy:
matrix:
Expand All @@ -33,7 +34,7 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: "npm"

- name: Use Ruby 3.3
- name: Use Ruby 3.3.0
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
Expand All @@ -42,10 +43,13 @@ jobs:
- name: Install dependencies
run: |
npm install
bundle config set --local without 'development test'
bundle install
- name: Run Migrations
run: ruby ./src/main/config/migrations.rb
run: |
gem install sequel
ruby ./src/main/config/migrations.rb
- name: Run Tests
run: COVERAGE=true bundle exec rspec --format documentation --color
Expand Down

0 comments on commit e194fcc

Please sign in to comment.