Skip to content

Commit 66517af

Browse files
author
Matheus Ferreira
committed
Correctly set MONGOID_VERSION to use test matrix
1 parent 23193f1 commit 66517af

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/rspec.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212
jobs:
1313
test:
1414
runs-on: ubuntu-latest
15+
env:
16+
MONGOID_VERSION: ${{ matrix.mongoid-version }}
1517
services:
1618
mongodb:
1719
image: mongo
@@ -27,8 +29,6 @@ jobs:
2729
uses: ruby/setup-ruby@v1
2830
with:
2931
ruby-version: ${{ matrix.ruby-version }}
30-
- name: Setup Mongoid ENV var
31-
run: export MONGOID_VERSION=${{ matrix.mongoid-version }}
3232
- name: Install dependencies
3333
run: bundle update --jobs=3 --retry=3
3434
- name: Run tests

0 commit comments

Comments
 (0)