Update e2e tests

This commit is contained in:
IvanZosimov 2022-08-17 15:27:03 +02:00
parent 302825fe54
commit 1ebef80e4b

View File

@ -78,7 +78,7 @@ jobs:
uses: ./ uses: ./
with: with:
dotnet-version: 3.1.201 dotnet-version: 3.1.201
# We are including this veriable to force the generation of the nuget config file to verify that it is created in the correct place # We are including this variable to force the generation of the nuget config file to verify that it is created in the correct place
source-url: https://api.nuget.org/v3/index.json source-url: https://api.nuget.org/v3/index.json
env: env:
NUGET_AUTH_TOKEN: NOTATOKEN NUGET_AUTH_TOKEN: NOTATOKEN
@ -115,6 +115,26 @@ jobs:
shell: pwsh shell: pwsh
run: __tests__/verify-dotnet.ps1 3.1 2.2 run: __tests__/verify-dotnet.ps1 3.1 2.2
test-setup-prerelease-version:
runs-on: ${{ matrix.operating-system }}
strategy:
fail-fast: false
matrix:
operating-system: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Clear toolcache
shell: pwsh
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
- name: Setup dotnet '7.0.100-preview.7.22377.5'
uses: ./
with:
dotnet-version: '7.0.100-preview.7.22377.5'
- name: Verify dotnet
shell: pwsh
run: __tests__/verify-dotnet.ps1 7.0.100-preview.7.22377.5
test-setup-latest-patch-version: test-setup-latest-patch-version:
runs-on: ${{ matrix.operating-system }} runs-on: ${{ matrix.operating-system }}
strategy: strategy:
@ -134,10 +154,14 @@ jobs:
- name: Setup dotnet 2.2.x - name: Setup dotnet 2.2.x
uses: ./ uses: ./
with: with:
dotnet-version: 2.2.x dotnet-version: 2.2.X
- name: Setup dotnet 2.2.x
uses: ./
with:
dotnet-version: 5.0.*
- name: Verify dotnet - name: Verify dotnet
shell: pwsh shell: pwsh
run: __tests__/verify-dotnet.ps1 3.1 2.2 run: __tests__/verify-dotnet.ps1 3.1 2.2 5.0
test-setup-with-wildcard: test-setup-with-wildcard:
runs-on: ${{ matrix.operating-system }} runs-on: ${{ matrix.operating-system }}