Skip to content

Merge DT.AS V2 into main #1

Merge DT.AS V2 into main

Merge DT.AS V2 into main #1

name: Validate Build (AzureStorageScenarioTests 2/2)
on:
push:
branches:
- main
paths-ignore: [ '**.md' ]
pull_request:
branches:
- main
paths-ignore: [ '**.md' ]
env:
solution: DurableTask.sln
config: Release
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Setup .NET
uses: actions/setup-dotnet@v3
- name: Set up .NET Core 2.1
uses: actions/setup-dotnet@v3
with:
dotnet-version: '2.1.x'
- name: Set up .NET Core 3.1
uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'
- name: Restore dependencies
run: dotnet restore $solution
- name: Build
run: dotnet build $solution #--configuration $config #--no-restore -p:FileVersionRevision=$GITHUB_RUN_NUMBER -p:ContinuousIntegrationBuild=true
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
- name: Install Azurite
run: npm install -g azurite
- name: Test DTFx.AzureStorage (AzureStorageScenarioTests 1/2)
run: azurite --skipApiVersionCheck --silent --blobPort 10000 --queuePort 10001 --tablePort 10002 & dotnet test ./test/DurableTask.AzureStorage.Tests/DurableTask.AzureStorage.Tests.csproj --filter "FullyQualifiedName=DurableTask.AzureStorage.Tests.AzureStorageScenarioTests.LargeTableTextMessagePayloads_SizeViolation_BlobUrl & FullyQualifiedName=DurableTask.AzureStorage.Tests.AzureStorageScenarioTests.LargeTableTextMessagePayloads_FetchLargeMessages & FullyQualifiedName=DurableTask.AzureStorage.Tests.AzureStorageScenarioTests.ScheduledStart_Inline & FullyQualifiedName=DurableTask.AzureStorage.Tests.AzureStorageScenarioTests.ScheduledStart_Activity"