Replace hardcoded version string + globs with build variables #297
Workflow file for this run
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: Build and Test | |
on: | |
push: | |
branches: [ main, testing ] | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
branches: [ main, testing ] | |
paths-ignore: | |
- '**.md' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
SA_PASSWORD: NotASecret!12 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET 6 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '6.0.x' | |
env: | |
NUGET_AUTH_TOKEN: RequiredButNotUsed | |
- name: NuGet Restore | |
run: dotnet restore -v n | |
- name: Build | |
run: dotnet build | |
- name: Setup SQL Server container | |
run: test/setup.ps1 | |
shell: pwsh | |
- name: Durable framework tests | |
run: dotnet test --no-build --verbosity normal --filter Category!=Stress ./test/DurableTask.SqlServer.Tests/DurableTask.SqlServer.Tests.csproj | |
- name: Functions runtime tests | |
run: dotnet test --no-build --verbosity normal ./test/DurableTask.SqlServer.AzureFunctions.Tests/DurableTask.SqlServer.AzureFunctions.Tests.csproj |