Skip to content
This repository was archived by the owner on Sep 29, 2025. It is now read-only.

Merge pull request #2 from dblock/gha #1

Merge pull request #2 from dblock/gha

Merge pull request #2 from dblock/gha #1

Workflow file for this run

---
name: test-mongodb
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
name: test
env:
DATABASE_ADAPTER: mongoid
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
- uses: supercharge/[email protected]
with:
mongodb-version: '8.0'
- run: bundle exec rake spec
- working-directory: sample_apps/sample_app_mongoid
env:
RACK_ENV: test
run: |
bundle install
bundle exec rake