forked from Constellation-Labs/tessellation
-
Notifications
You must be signed in to change notification settings - Fork 0
86 lines (73 loc) · 3.11 KB
/
Copy pathe2e-functionality-tests.yml
File metadata and controls
86 lines (73 loc) · 3.11 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
name: E2E Functionality Tests
on:
pull_request: {}
jobs:
calculate-version:
runs-on: ubuntu-latest
outputs:
tessellation_version: ${{ steps.calculate_version.outputs.tessellation_version }}
steps:
- uses: actions/checkout@v3
- name: Get Version
id: calculate_version
run: |
BASE_VERSION="1.0.0"
FILES_HASH=${{ hashFiles('**/project/*.sbt', '**/project/build.properties', '**/build.sbt', '**/src/main/scala/io/constellationnetwork/**') }}
SHORT_HASH=${FILES_HASH:0:8}
TESSELLATION_VERSION="$BASE_VERSION-$SHORT_HASH"
echo "TESSELLATION_VERSION=$TESSELLATION_VERSION" >> $GITHUB_ENV
echo "tessellation_version=$TESSELLATION_VERSION" >> $GITHUB_OUTPUT
call-workflow-setup-environment:
needs: calculate-version
uses: ./.github/workflows/setup-environment.yml
with:
tessellation_version: ${{ needs.calculate-version.outputs.tessellation_version }}
secrets: inherit
call-test-currency-transactions:
needs: [calculate-version, call-workflow-setup-environment]
uses: ./.github/workflows/test-currency-transactions.yml
with:
tessellation_version: ${{ needs.calculate-version.outputs.tessellation_version }}
secrets: inherit
call-test-data-transactions:
needs: [calculate-version, call-workflow-setup-environment]
uses: ./.github/workflows/test-data-transactions.yml
with:
tessellation_version: ${{ needs.calculate-version.outputs.tessellation_version }}
secrets: inherit
call-test-fee-transactions:
needs: [calculate-version, call-workflow-setup-environment]
uses: ./.github/workflows/test-fee-transactions.yml
with:
tessellation_version: ${{ needs.calculate-version.outputs.tessellation_version }}
secrets: inherit
call-test-metagraph-rewards:
needs: [calculate-version, call-workflow-setup-environment]
uses: ./.github/workflows/test-metagraph-rewards.yml
with:
tessellation_version: ${{ needs.calculate-version.outputs.tessellation_version }}
secrets: inherit
call-test-allow-spends:
needs: [calculate-version, call-workflow-setup-environment]
uses: ./.github/workflows/test-allow-spends.yml
with:
tessellation_version: ${{ needs.calculate-version.outputs.tessellation_version }}
secrets: inherit
call-test-spend-transactions:
needs: [calculate-version, call-workflow-setup-environment]
uses: ./.github/workflows/test-spend-transactions.yml
with:
tessellation_version: ${{ needs.calculate-version.outputs.tessellation_version }}
secrets: inherit
call-test-token-locks:
needs: [calculate-version, call-workflow-setup-environment]
uses: ./.github/workflows/test-token-locks.yml
with:
tessellation_version: ${{ needs.calculate-version.outputs.tessellation_version }}
secrets: inherit
call-test-delegated-staking:
needs: [calculate-version, call-workflow-setup-environment]
uses: ./.github/workflows/test-delegated-staking.yml
with:
tessellation_version: ${{ needs.calculate-version.outputs.tessellation_version }}
secrets: inherit