Skip to content

Update and rename dotnet.yml to Tests.yml #1

Update and rename dotnet.yml to Tests.yml

Update and rename dotnet.yml to Tests.yml #1

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/Catalog.App.sln
- name: Build Catalog app
run: dotnet build ./crs/Services/Catalog/Catalog.App/Catalog.App.sln --no-restore
- name: Unit test Catalog app
run: dotnet build ./tests/Catalog.UnitTests/Catalog.UnitTests.csproj --no-restore
- name: Restore dependencies for Identity app
run: dotnet restore ./crs/Services/Catalog/Identity.App/Identity.App.sln
- name: Build Identity app
run: dotnet build ./crs/Services/Identity/Identity.App/Identity.App.sln --no-restore
- name: Unit test Identity app
run: dotnet build ./tests/Identity.UnitTests/Identity.UnitTests.csproj --no-restore