Skip to content

Commit

Permalink
Github Actions Net5.0 (S7NetPlus#1)
Browse files Browse the repository at this point in the history
* Try integrating dotnet setup version into build matrix.

* Another attempt

* change matrix.

* don't add dotnet-sdk as main matrix variable

* remove test framework as well.

* or maybe not

* Fix copy paste mixup
  • Loading branch information
scamille authored Jun 5, 2021
1 parent 4541a7e commit bcde651
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,30 @@ jobs:
test-framework: [netcoreapp3.1, net5.0]
include:
- os: ubuntu-latest
test-framework: netcoreapp3.1
installSnap7: true
dotnet-sdk: '3.1.x'
- os: ubuntu-latest
test-framework: net5.0
installSnap7: true
dotnet-sdk: '5.0.x'
- os: macos-latest
test-framework: netcoreapp3.1
installSnap7: true
dotnet-sdk: '3.1.x'
- os: macos-latest
test-framework: net5.0
installSnap7: true
dotnet-sdk: '5.0.x'
- os: windows-latest
test-framework: netcoreapp3.1
dotnet-sdk: '3.1.x'
- os: windows-latest
test-framework: net5.0
dotnet-sdk: '5.0.x'
- os: windows-latest
test-framework: net452
dotnet-sdk: '5.0.x'
fail-fast: false

steps:
Expand All @@ -43,7 +62,7 @@ jobs:
- name: Setup Dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x' # SDK Version to use; x will use the latest version of the 3.1 channel
dotnet-version: ${{ matrix.dotnet-sdk }}

- name: Restore
run: dotnet restore S7.Net.UnitTest
Expand Down

0 comments on commit bcde651

Please sign in to comment.