Skip to content

Commit 2fa793b

Browse files
fix merge conflict
2 parents 9f38889 + 138fce9 commit 2fa793b

File tree

2 files changed

+39
-31
lines changed

2 files changed

+39
-31
lines changed

.github/workflows/tests.yml

Lines changed: 38 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,38 @@
1-
name: .NET
2-
3-
on:
4-
push:
5-
branches: [ master ]
6-
pull_request:
7-
branches: [ master ]
8-
9-
jobs:
10-
build:
11-
12-
runs-on: ubuntu-latest
13-
14-
steps:
15-
- uses: actions/checkout@v2
16-
- name: Setup .NET
17-
uses: actions/setup-dotnet@v1
18-
with:
19-
dotnet-version: 5.0.x
20-
- name: Restore dependencies
21-
run: |
22-
cd tests
23-
dotnet restore
24-
- name: Build
25-
run: |
26-
cd tests
27-
dotnet build --no-restore
28-
- name: Test
29-
run: |
30-
cd tests
31-
dotnet test --no-build --verbosity normal
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build_and_test:
11+
strategy:
12+
matrix:
13+
mongodb-version: [4.4]
14+
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
- name: Setup .NET
20+
uses: actions/setup-dotnet@v1
21+
with:
22+
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 }}
27+
- name: Restore dependencies
28+
run: |
29+
cd tests
30+
dotnet restore
31+
- name: Build
32+
run: |
33+
cd tests
34+
dotnet build --no-restore
35+
- name: Test
36+
run: |
37+
cd tests
38+
dotnet test --no-build --verbosity normal

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
![Tests](https://github.com/coderookie1994/Microstack/actions/workflows/tests.yml/badge.svg)
12
# Microstack
23
### Seamlessly run .net core apps using this CLI to avoid opening multiple code editors or instances of visual studio.
34

0 commit comments

Comments
 (0)