Create github action.yml

This commit is contained in:
2026-02-01 22:20:41 +04:00
committed by GitHub
parent d1d057bed5
commit de9e401e8e

29
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: Autotests CI
# Триггер: запускать при пуше в ЛЮБУЮ ветку
on:
push:
branches:
- '**'
jobs:
test-job:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Run unit tests
run: dotnet test --no-build --verbosity normal