|
15 | 15 | description: "git commit hash or branch name" |
16 | 16 | type: string |
17 | 17 | required: true |
| 18 | + Gi_per_thread: |
| 19 | + description: 'requested GiB to reserve per thread' |
| 20 | + type: string |
| 21 | + required: true |
18 | 22 | python: |
19 | 23 | description: "python version, e.g. 3.10.12" |
20 | 24 | type: string |
|
35 | 39 | description: "git commit hash or branch name" |
36 | 40 | type: string |
37 | 41 | required: true |
| 42 | + Gi_per_thread: |
| 43 | + description: 'requested GiB to reserve per thread' |
| 44 | + type: string |
| 45 | + required: true |
38 | 46 | python: |
39 | 47 | description: "python version, e.g. 3.10.12" |
40 | 48 | type: string |
|
61 | 69 | id: setenv |
62 | 70 | uses: ./.github/actions/nm-set-env/ |
63 | 71 | with: |
64 | | - hf_home: ${{ secrets.NM_HF_HOME }} |
| 72 | + hf_token: ${{ secrets.NM_HF_TOKEN }} |
| 73 | + Gi_per_thread: ${{ inputs.Gi_per_thread }} |
65 | 74 |
|
66 | 75 | - name: set python |
67 | 76 | id: set_python |
|
88 | 97 | id: build |
89 | 98 | uses: ./.github/actions/nm-build-vllm/ |
90 | 99 | with: |
91 | | - Gi_per_thread: 1 |
| 100 | + Gi_per_thread: ${{ inputs.Gi_per_thread }} |
92 | 101 | python: ${{ inputs.python }} |
93 | 102 | venv: TEST |
94 | 103 |
|
|
97 | 106 | uses: ./.github/actions/nm-test-vllm/ |
98 | 107 | with: |
99 | 108 | test_directory: tests |
100 | | - test_xml: test-results/all_tests.xml |
| 109 | + test_results: test-results |
101 | 110 | python: ${{ inputs.python }} |
102 | 111 | venv: TEST |
103 | 112 |
|
@@ -134,12 +143,13 @@ jobs: |
134 | 143 | TEST_STATUS: ${{ steps.test.outputs.status }} |
135 | 144 | run: | |
136 | 145 | echo "checkout status: ${CHECKOUT}" |
137 | | - if [[ "${CHECKOUT}" != *"success"* ]]; then exit 1; fi |
138 | | - if [ ${LINT_STATUS} -ne 0 ]; then exit 1; fi |
139 | | - if [ ${BUILD_STATUS} -ne 0 ]; then exit 1; fi |
| 146 | + echo "lint status: ${LINT_STATUS}" |
140 | 147 | echo "build status: ${BUILD_STATUS}" |
141 | | - if [ ${TEST_STATUS} -ne 0 ]; then exit 1; fi |
142 | 148 | echo "test status: ${TEST_STATUS}" |
| 149 | + if [[ "${CHECKOUT}" != *"success"* ]]; then exit 1; fi |
| 150 | + if [ -z "${LINT_STATUS}" ] || [ "${LINT_STATUS}" -ne "0" ]; then exit 1; fi |
| 151 | + if [ -z "${BUILD_STATUS}" ] || [ "${BUILD_STATUS}" -ne "0" ]; then exit 1; fi |
| 152 | + if [ -z "${TEST_STATUS}" ] || [ "${TEST_STATUS}" -ne "0" ]; then exit 1; fi |
143 | 153 |
|
144 | 154 | - name: complete testmo run |
145 | 155 | uses: ./.github/actions/nm-testmo-run-complete/ |
|
0 commit comments