Add unit and e2e tests

This commit is contained in:
IvanZosimov
2023-04-11 15:53:11 +02:00
parent aa34a3ceaa
commit 5f570676c2
2 changed files with 27 additions and 2 deletions

View File

@@ -165,6 +165,30 @@ jobs:
shell: pwsh
run: __tests__/verify-dotnet.ps1 3.1 2.2
test-setup-with-ABCxx-syntax:
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 '3.1.1xx'
uses: ./
with:
dotnet-version: '3.1.1xx'
- name: Setup dotnet '6.0.3xx'
uses: ./
with:
dotnet-version: '6.0.3xx'
- name: Verify dotnet
shell: pwsh
run: __tests__/verify-dotnet.ps1 3.1.1 6.0.3
test-setup-global-json-specified-and-version:
runs-on: ${{ matrix.operating-system }}
strategy: