-
Notifications
You must be signed in to change notification settings - Fork 2
45 lines (41 loc) · 1.27 KB
/
tests.yml
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
40
41
42
43
44
45
name: tests
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "*" ]
jobs:
build:
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
os:
- ubuntu
- windows
steps:
- uses: actions/checkout@v4
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build
- name: Test with the dotnet CLI
run: dotnet test -v n
- name: Archive JobTests artifacts
uses: actions/upload-artifact@v3
if: always()
with:
name: Test_logs_${{ matrix.os }}
path: |
Golem.Tests/tests/*.log
Golem.Tests/tests/*/modules/golem-data/yagna/*.log
Golem.Tests/tests/*/modules/golem-data/provider/*.log
Golem.Tests/tests/*/modules/golem-data/provider/*.json
Golem.Tests/tests/*/modules/golem-data/provider/exe-unit/work/logs/*.log
Golem.Tests/tests/*/modules/golem-data/provider/exe-unit/work/*/agreement.json
Golem.Tests/tests/*/modules/golem-data/provider/exe-unit/work/*/*/*.log
Golem.Tests/tests/*/modules/golem-data/provider/exe-unit/work/*/*/logs/*.log
Golem.Tests/tests/*/*.log