Skip to content

refactor services

refactor services #3

Workflow file for this run

name: Validate Build
on:
push:
branches:
- main
- dajusto/run-tests-in-gh-action
paths-ignore: [ '**.md' ]
pull_request:
branches:
- main
paths-ignore: [ '**.md' ]
env:
solution: WebJobs.Extensions.DurableTask.sln
config: Release
jobs:
build:
runs-on: windows-latest
services:
azurite:
image: mcr.microsoft.com/azure-storage/azurite
ports:
- 10000:10000
- 10001:10001
- 10002:10002
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Setup .NET
uses: actions/setup-dotnet@v3
- 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: Test DTx.Core
run: dotnet test #--configuration $config --no-build --verbosity normal