Updated documentation #56
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: Branch Preview Tests | |
on: | |
push: | |
branches: | |
- preview | |
paths: | |
- '**.csproj' | |
- '**.razor' | |
- '**.cs' | |
- '**.csproj' | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout to the repository | |
uses: actions/checkout@v4 | |
- name: Add msbuild to PATH | |
uses: microsoft/[email protected] | |
with: | |
vs-prerelease: true | |
- name: Setup Nuget Cache | |
uses: actions/cache@v4 | |
with: | |
path: ~/.nuget/packages | |
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-nuget- | |
- name: Install dependencies | |
run: nuget restore TgDownloader.sln | |
- name: Tests for Release Any CPU | |
run: | # | |
dotnet test Tests/TgAssertCoreTests/TgAssertCoreTests.csproj --no-restore --verbosity quiet -property:Configuration=Release -property:Platform="Any CPU" | |
dotnet test Tests/TgDownloaderConsoleTest/TgDownloaderConsoleTest.csproj --no-restore --verbosity quiet -property:Configuration=Release -property:Platform="Any CPU" | |
dotnet test Tests/TgDownloaderTest/TgDownloaderTest.csproj --no-restore --verbosity quiet -property:Configuration=Release -property:Platform="Any CPU" | |
# dotnet test Tests/TgStorageTest/TgStorageTest.csproj --no-restore --verbosity quiet -property:Configuration=Release -property:Platform="Any CPU" |