File tree Expand file tree Collapse file tree 3 files changed +4
-13
lines changed Expand file tree Collapse file tree 3 files changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,6 @@ permissions: read-all
6
6
on :
7
7
workflow_call :
8
8
inputs :
9
- node :
10
- required : true
11
- type : string
12
9
service :
13
10
required : true
14
11
type : string
36
33
# Image Build
37
34
# ###################################################################################################
38
35
build-images :
39
- runs-on : " docker-build-${{ inputs.node }} "
36
+ runs-on : " docker-build-gaudi "
40
37
continue-on-error : true
41
38
outputs :
42
39
file_exists : ${{ steps.get-yaml-path.outputs.file_exists }}
84
81
# ###################################################################################################
85
82
test-service-compose :
86
83
needs : [build-images]
87
- if : ${{ fromJSON(inputs.test) && needs.build-images.outputs.file_exists == 'true' }}
84
+ if : ${{ fromJSON(inputs.test) }}
88
85
uses : ./.github/workflows/_run-docker-compose.yml
89
86
with :
90
87
tag : ${{ inputs.tag }}
91
88
service : ${{ inputs.service }}
92
- hardware : ${{ inputs.node }}
93
89
secrets : inherit
Original file line number Diff line number Diff line change 20
20
description : Example to test
21
21
required : true
22
22
type : string
23
- hardware :
24
- description : Hardware to run the test on
25
- required : true
26
- type : string
27
23
jobs :
28
24
get-test-case :
29
25
runs-on : ubuntu-latest
@@ -57,14 +53,15 @@ jobs:
57
53
cd ${{ github.workspace }}/tests
58
54
test_cases=$(find . -type f -name "test_${service_l}*.sh" -print | jq -R '.' | jq -sc '.')
59
55
echo "test_cases=$test_cases" >> $GITHUB_OUTPUT
56
+ # TODO: get hardware for test matrix
60
57
61
58
run-test :
62
59
needs : [get-test-case]
63
60
strategy :
64
61
matrix :
65
62
test_case : ${{ fromJSON(needs.get-test-case.outputs.test_cases) }}
66
63
fail-fast : false
67
- runs-on : ${{ inputs.hardware }}
64
+ runs-on : gaudi
68
65
continue-on-error : true
69
66
steps :
70
67
- name : Clean up Working Directory
88
85
GOOGLE_API_KEY : ${{ secrets.GOOGLE_API_KEY }}
89
86
PINECONE_KEY : ${{ secrets.PINECONE_KEY }}
90
87
service : ${{ inputs.service }}
91
- hardware : ${{ inputs.hardware }}
92
88
test_case : ${{ matrix.test_case }}
93
89
run : |
94
90
cd ${{ github.workspace }}/tests
Original file line number Diff line number Diff line change 56
56
with :
57
57
service : ${{ matrix.service }}
58
58
tag : ${{ inputs.tag }}
59
- node : gaudi
60
59
mode : ${{ inputs.mode }}
61
60
test : ${{ inputs.test }}
62
61
secrets : inherit
You can’t perform that action at this time.
0 commit comments