Skip to content

Updated documentation #56

Updated documentation

Updated documentation #56

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"