Skip to content

Commit a1c7110

Browse files
author
Zachary Eisinger
authored
Add example for SxS testing to Readme
1 parent 3523381 commit a1c7110

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Matrix Testing:
3434
```yaml
3535
jobs:
3636
build:
37-
runs-on: ubuntu-16.04
37+
runs-on: ubuntu-latest
3838
strategy:
3939
matrix:
4040
dotnet: [ '2.2.103', '3.0', '3.1.x' ]
@@ -48,6 +48,26 @@ jobs:
4848
- run: dotnet build <my project>
4949
```
5050
51+
Side by Side Testing:
52+
```yaml
53+
jobs:
54+
build:
55+
runs-on: ubuntu-latest
56+
name: Dotnet Side by Side testing sample
57+
steps:
58+
- uses: actions/checkout@v2
59+
- name: Setup dotnet
60+
uses: actions/setup-dotnet@v1
61+
with:
62+
dotnet-version: '2.2.103'
63+
- name: Setup dotnet
64+
uses: actions/setup-dotnet@v1
65+
with:
66+
dotnet-version: '3.1.x'
67+
- run: dotnet build <my project>
68+
- run: dotnet test <my project>
69+
```
70+
5171
Authentication for nuget feeds:
5272
```yaml
5373
steps:

0 commit comments

Comments
 (0)