Skip to content

Commit 5ba685c

Browse files
Update tests.yml
add mongo action
1 parent 2481206 commit 5ba685c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88

99
jobs:
1010
build:
11+
strategy:
12+
matrix:
13+
mongodb-version: [4.0, 4.4]
1114

1215
runs-on: ubuntu-latest
1316

@@ -17,6 +20,10 @@ jobs:
1720
uses: actions/setup-dotnet@v1
1821
with:
1922
dotnet-version: 3.1.x
23+
- name: MongoDB in GitHub Actions
24+
uses: supercharge/mongodb-github-action@1.3.0
25+
with:
26+
mongodb-version: ${{ matrix.mongodb-version }}
2027
- name: Restore dependencies
2128
run: |
2229
cd tests

0 commit comments

Comments
 (0)