Sha256: 7acb5a8c934446abfaf0b6b27ac95f3a34cbd6eb59bd4dcec726bd42ea818799

Contents?: true

Size: 1 KB

Versions: 1

Compression:

Stored size: 1 KB

Contents

---
name: test
on: [push, pull_request]
jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        entry:
          - { ruby: 2.6.2, mongoid: 6.4.8, mongodb: 4.4 }
          - { ruby: 2.6.2, mongoid: 7.2.3, mongodb: 4.4 }
          - { ruby: 2.6.2, mongoid: 7.3.0, mongodb: 4.4 }
    name: test (ruby=${{ matrix.entry.ruby }}, mongoid=${{ matrix.entry.mongoid }}, mongodb=${{ matrix.entry.mongodb }})
    steps:
      - uses: actions/checkout@v2
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.entry.ruby }}
      - uses: browser-actions/setup-geckodriver@latest
      - run: geckodriver --version
      - uses: supercharge/mongodb-github-action@1.7.0
        with:
          mongodb-version: ${{ matrix.entry.mongodb }}
      - name: Test
        uses: GabrielBB/xvfb-action@v1
        env:
          DATABASE_ADAPTER: mongoid
          MONGOID_VERSION: ${{ matrix.entry.mongoid }}
        with:
          run: |
            bundle install
            bundle exec rake spec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slack-ruby-bot-server-1.2.1 .github/workflows/test-mongodb.yml