@@ -100,7 +100,6 @@ jobs:
100100 - test
101101 - license_check
102102 - go_test_shim
103- - provider_test
104103 - upstream_lint
105104 uses : ./.github/workflows/publish.yml
106105 secrets : inherit
@@ -187,7 +186,7 @@ jobs:
187186 aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID }}
188187 aws-region : ${{ env.AWS_REGION }}
189188 aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
190- role-duration-seconds : 3600
189+ role-duration-seconds : 7200
191190 role-session-name : aws@githubActions
192191 role-to-assume : ${{ secrets.AWS_CI_ROLE_ARN }}
193192 - name : Make upstream
@@ -237,75 +236,6 @@ jobs:
237236 name : Upload coverage reports to Codecov
238237 uses : codecov/codecov-action@v4
239238 timeout-minutes : 60
240- provider_test :
241- name : provider_test
242- needs : build_sdk
243- permissions :
244- contents : read
245- id-token : write
246- runs-on : ubuntu-latest
247- steps :
248- - name : Free Disk Space (Ubuntu)
249- uses : jlumbroso/free-disk-space@main
250- with :
251- swap-storage : false
252- tool-cache : false
253- - name : Checkout Repo
254- uses : actions/checkout@v4
255- with :
256- ref : ${{ env.PR_COMMIT_SHA }}
257- submodules : true
258- - uses : pulumi/provider-version-action@v1
259- with :
260- set-env : PROVIDER_VERSION
261- - name : Setup tools
262- uses : ./.github/actions/setup-tools
263- with :
264- tools : pulumictl, pulumi, go, node, dotnet, python, java
265- - name : Prepare local workspace
266- run : make prepare_local_workspace
267- - name : Download bin
268- uses : ./.github/actions/download-bin
269- - name : Download SDK
270- uses : ./.github/actions/download-sdk
271- with :
272- language : ${{ matrix.language }}
273- - name : Restore makefile progress
274- run : make --touch provider schema build_${{ matrix.language }}
275- - name : Update path
276- run : echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
277- - name : Install Python deps
278- run : |-
279- pip3 install virtualenv==20.0.23
280- pip3 install pipenv
281- - name : Install dependencies
282- run : make install_${{ matrix.language}}_sdk
283- - name : Install gotestfmt
284- uses : GoTestTools/gotestfmt-action@v2
285- with :
286- token : ${{ secrets.GITHUB_TOKEN }}
287- version : v2.5.0
288- - name : Configure AWS Credentials
289- uses : aws-actions/configure-aws-credentials@v4
290- with :
291- aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID }}
292- aws-region : ${{ env.AWS_REGION }}
293- aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
294- role-duration-seconds : 3600
295- role-session-name : aws@githubActions
296- role-to-assume : ${{ secrets.AWS_CI_ROLE_ARN }}
297- - name : Run provider tests
298- run : |
299- cd provider && go test -v -json -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt
300- strategy :
301- fail-fast : false
302- matrix :
303- language :
304- - nodejs
305- - python
306- - dotnet
307- - go
308- - java
309239 upstream_lint :
310240 name : Run upstream provider-lint
311241 runs-on : ubuntu-latest
0 commit comments