Skip to content

Update Tests.yml

Update Tests.yml #5

Workflow file for this run

name: Tests
on:
push:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Setup .NET
uses: actions/[email protected]
with:
dotnet-version: 8.0.x
- name: Restore dependencies for Catalog app
run: dotnet restore ./crs/Services/Catalog/Catalog.App/Identity.App.csproj
- name: Build Identity app
run: dotnet build ./crs/Services/Catalog/Catalog.App/Catalog.App.csproj --no-restore
- name: Unit test Identity app
run: dotnet test ./tests/Catalog.UnitTests/Catalog.UnitTests.csproj --no-build --verbosity normal
- name: Restore dependencies for Identity app
run: dotnet restore ./crs/Services/Identity/Identity.App/Identity.App.csproj
- name: Build Identity app
run: dotnet build ./crs/Services/Identity/Identity.App/Identity.App.csproj --no-restore
- name: Unit test Identity app
run: dotnet test ./tests/Identity.UnitTests/Identity.UnitTests.csproj --no-build --verbosity normal