7171 contents : ' read'
7272 id-token : ' write'
7373 pages : ' write'
74+ env :
75+ HF_TOKEN : ${{ secrets.HF_RED_HAT_READ_ONLY }}
7476 environment :
7577 name : github-pages
7678 url : ${{ steps.coverage.outputs.page_url }}
7981
8082 - name : set python
8183 id : set_python
82- uses : actions/setup-python@v5
84+ uses : actions/setup-python@v6
8385 with :
8486 python-version : ${{ inputs.python }}
8587
9092 python-version : ${{ inputs.python }}
9193
9294 - name : install system dependencies
93- run : |
94- if command -v g++ >/dev/null 2>&1; then
95- echo "found g++ compiler"
96- else
97- echo "installing g++ etc compilers..."
98- sudo apt update && sudo apt install -y g++ gcc
99- fi
95+ run : |-
96+ sudo apt-get update
97+ sudo apt-get install -y --no-install-recommends g++ gcc make
10098 shell : bash
10199
102100 - name : checkout code
@@ -124,9 +122,9 @@ jobs:
124122 id : auth
125123 uses :
google-github-actions/[email protected] 126124 with :
127- project_id : ${{ secrets.GCP_PROJECT }}
128- workload_identity_provider : ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
129- service_account : ${{ secrets.GCP_GHA_SA }}
125+ project_id : ${{ secrets.GCP_VLLM_PROJECT }}
126+ workload_identity_provider : ${{ secrets.GCP_VLLM_PROJECT_WORKLOAD_IDENTITY_PROVIDER }}
127+ service_account : ${{ secrets.GCP_VLLM_PROJECT_GHA_SA }}
130128
131129 - name : ' Set up Cloud SDK'
132130 uses : ' google-github-actions/setup-gcloud@v2'
@@ -137,7 +135,7 @@ jobs:
137135 if : ${{ inputs.run_id != '' }}
138136 uses :
neuralmagic/nm-actions/actions/[email protected] 139137 with :
140- bucket_source : ${{ secrets.GCP_BUILD_ML_ASSETS2 }}
138+ bucket_source : ${{ secrets.GCP_VLLM_PROJECT_BUILD_ASSETS }}
141139 run_id : ${{ inputs.run_id }}
142140
143141 - name : run tests
@@ -166,13 +164,13 @@ jobs:
166164
167165 - name : copy results to GCP
168166 run : |
169- gcloud storage cp test-results/report.xml ${{ secrets.GCP_BUILD_ML_ASSETS2 }}/${{ github.run_id }}/test-results/report-${{ inputs.test_label }}.xml
167+ gcloud storage cp test-results/report.xml ${{ secrets.GCP_VLLM_PROJECT_BUILD_ASSETS }}/${{ github.run_id }}/test-results/report-${{ inputs.test_label }}.xml
170168
171169 - name : upload results
172170 uses : actions/upload-artifact@v4
173171 if : success() || failure()
174172 with :
175- name : report-${{ inputs.test_label }}.xml
173+ name : report-${{ inputs.python }}-${{ inputs. test_label }}.xml
176174 path : test-results/report.xml
177175 retention-days : 5
178176
0 commit comments