Skip to content

Add CI pipeline and Catalog service tests #1

Add CI pipeline and Catalog service tests

Add CI pipeline and Catalog service tests #1

Workflow file for this run

name: .NET CI
on:
push:
branches:
- '**'
pull_request:
branches:
- main
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Restore
run: dotnet restore eShopOnWeb.sln
- name: Build
run: dotnet build eShopOnWeb.sln --configuration Release --no-restore
- name: Test
run: dotnet test eShopOnWeb.sln --configuration Release --no-build