File tree Expand file tree Collapse file tree 2 files changed +39
-31
lines changed Expand file tree Collapse file tree 2 files changed +39
-31
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change
1
+ ![ Tests] ( https://github.com/coderookie1994/Microstack/actions/workflows/tests.yml/badge.svg )
1
2
# Microstack
2
3
### Seamlessly run .net core apps using this CLI to avoid opening multiple code editors or instances of visual studio.
3
4
You can’t perform that action at this time.
0 commit comments