-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (31 loc) · 1 KB
/
github-actions-tests.yaml
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
33
34
35
36
37
38
39
name: .NET
on:
push:
branches:
- master
- develop
- test-branch
- change-project-structure
pull_request:
branches:
- master
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Upload photo to debug directory
run: |
cp tests/CoinyProject.Application.AlbumService.Tests/Shared/test.jpg tests/CoinyProject.Application.AlbumService.Tests/bin/Debug/net8.0/
mkdir -p tests/CoinyProject.Application.AlbumService.Tests/test/albums/elements
- name: Test
run: dotnet test --no-build --verbosity normal