-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (27 loc) · 833 Bytes
/
backend-dotnet.yml
File metadata and controls
32 lines (27 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: .NET Core - ŻycieNaKodach.pl | Event Modeling Workshop
on:
push:
paths:
- '.github/workflows/backend-dotnet.yml'
- 'backend-dotnet/**'
- '!**/README.md'
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: backend-dotnet/EventModelingGitHubCloneDotNet
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: Tests | Start docker-compose with backend dependencies
run: docker-compose -f docker-compose.eventstore.yaml --log-level INFO up -d
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal