-
Notifications
You must be signed in to change notification settings - Fork 9
62 lines (58 loc) · 2.16 KB
/
ci-workflow.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: ciworkflow
on:
pull_request:
branches:
- '*'
env:
# Setting an environment variable with the value of a configuration variable
ACCOUNT_ID: ${{ secrets.ACCOUNT_ID }}
API_KEY: ${{ secrets.API_KEY }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.x.x
- name: build
run: |
./build.sh --target=restore
./build.sh --target=generate
./build.sh --target=build
./build.sh --target=test
siftDotNetIntegrationTest:
runs-on: ubuntu-latest
env:
PUSH_PACKAGES: ${{ github.event_name == 'pull_request' || github.event_name == 'push' && github.ref == 'refs/heads/master' }}
steps:
- uses: actions/checkout@v4
- name: Setup .NET
if: ${{ env.PUSH_PACKAGES }}
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.x.x
- name: siftDotNetIntegrationTest
if: ${{ env.PUSH_PACKAGES }}
run: |
./build.sh --target=restore
./build.sh --target=generate
./build.sh --target=build
./build.sh --target=testNet7 --filter=Account
./build.sh --target=testNet7 --filter=Cart
./build.sh --target=testNet7 --filter=Chargebacks
./build.sh --target=testNet7 --filter=Contents
./build.sh --target=testNet7 --filter=LoginLogout
./build.sh --target=testNet7 --filter=Notifications
./build.sh --target=testNet7 --filter=Order
./build.sh --target=testNet7 --filter=Passwords
./build.sh --target=testNet7 --filter=Promotions
./build.sh --target=testNet7 --filter=Sessions
./build.sh --target=testNet7 --filter=Transactions
./build.sh --target=testNet7 --filter=Verifications
./build.sh --target=testNet7 --filter=DecisionsRequests
./build.sh --target=testNet7 --filter=Labels
./build.sh --target=testNet7 --filter=MerchantRequests
./build.sh --target=testNet7 --filter=Scores
./build.sh --target=testNet7 --filter=VerificationsRequests