Skip to content

Create debugos.yml #196

Create debugos.yml

Create debugos.yml #196

Workflow file for this run

name: Continuous Integration
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
env:
SOLUTION: Place.sln
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x'
- name: Cache NuGet packages
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Restore dependencies
run: make restore SOLUTION=${{ env.SOLUTION }}
- name: Build solution
run: make build SOLUTION=${{ env.SOLUTION }}
- name: Run unit tests
run: make test-unit SOLUTION=${{ env.SOLUTION }}
- name: Run integration tests
run: make test-integration SOLUTION=${{ env.SOLUTION }}