Добавлена поддержка функции coalesce. #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Run tests | |
runs-on: windows-2019 | |
strategy: | |
matrix: | |
framework: [ 'netcoreapp2.0', 'net45' ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Add msbuild to PATH | |
uses: microsoft/setup-msbuild@v1.0.2 | |
- uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 2.1.x | |
- name: Install dependencies | |
shell: cmd | |
run: dotnet restore src/Tests/ | |
- name: Test with dotnet | |
shell: cmd | |
run: dotnet test --logger trx --framework ${{ matrix.framework }} --results-directory "TestResults-${{ matrix.framework }}" src/Tests/ConfigSettingsTests.csproj | |
- name: Upload dotnet test results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: dotnet-results-${{ matrix.framework }} | |
path: src/Tests/TestResults-${{ matrix.framework }} | |
# Use always() to always run this step to publish test results when there are test failures | |
if: ${{ always() }} |