-
Notifications
You must be signed in to change notification settings - Fork 7
/
.gitlab-ci.yml
33 lines (33 loc) · 1.23 KB
/
.gitlab-ci.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
variables:
FAULTED_TESTS_PUBLISHER: 'E:\Work\Trx\Release\ParseTrx.bat'
TEST_RESULT_DIR: 'TestResults'
stages:
- build
- test
build:
stage: build
only:
- branches
script:
- '& dotnet build --configuration Release /clp:ErrorsOnly'
artifacts:
untracked: true
expire_in: 2 days
paths:
- 'TestResults\'
test:
stage: test
script:
- '& dotnet test --filter "FullyQualifiedName~CryptoApisLibrary.Tests.Exchanges
|FullyQualifiedName~CryptoApisLibrary.Tests.Blockchains.Info
|FullyQualifiedName~CryptoApisLibrary.Tests.Blockchains.WebhookNotifications
|FullyQualifiedName~CryptoApisLibrary.Tests.Blockchains.Addresses
|FullyQualifiedName~CryptoApisLibrary.Tests.Blockchains.Contracts
|FullyQualifiedName~CryptoApisLibrary.Tests.Blockchains.Tokens
|FullyQualifiedName~CryptoApisLibrary.Tests.Blockchains.PaymentForwardings
|FullyQualifiedName~CryptoApisLibrary.Tests.Blockchains.Transactions
|FullyQualifiedName~CryptoApisLibrary.Tests.Blockchains.Wallets" --no-build --results-directory "$env:TEST_RESULT_DIR" --logger trx --verbosity quiet --configuration Release'
dependencies:
- build
after_script:
- '& "$env:FAULTED_TESTS_PUBLISHER" "$env:TEST_RESULT_DIR"'