Skip to content

Commit 7c84dd0

Browse files
authored
ci: создал пайплайн для тестирования
1 parent c186fc7 commit 7c84dd0

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

Diff for: .github/workflows/dotnet.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: .NET
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Настройка .NET
17+
uses: actions/setup-dotnet@v4
18+
with:
19+
dotnet-version: 8.0.x
20+
- name: Восстановление зависимостей
21+
run: dotnet restore
22+
- name: Сборка
23+
run: dotnet build --no-restore
24+
- name: Тестирование
25+
run: dotnet test --no-build --verbosity normal

0 commit comments

Comments
 (0)