feat: Add local python SDK replacement option via pip #161
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| permissions: write-all # Equivalent to default permissions plus id-token: write | |
| env: | |
| ESC_ACTION_OIDC_AUTH: true | |
| ESC_ACTION_OIDC_ORGANIZATION: pulumi | |
| ESC_ACTION_OIDC_REQUESTED_TOKEN_TYPE: urn:pulumi:token-type:access_token:organization | |
| ESC_ACTION_ENVIRONMENT: imports/github-secrets | |
| ESC_ACTION_EXPORT_ENVIRONMENT_VARIABLES: false | |
| name: acceptance-test | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| - main | |
| workflow_dispatch: null | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Fetch secrets from ESC | |
| id: esc-secrets | |
| uses: pulumi/esc-action@v1 | |
| - uses: actions/checkout@v4 | |
| - name: Install Languages & Frameworks | |
| uses: ./.github/actions/install | |
| with: | |
| skip_dotnet_and_java: "true" | |
| - name: Run acceptance tests | |
| run: make test | |
| env: | |
| PULUMITEST_TEMP_DIR: ${{ github.workspace }}/test_temp | |
| PULUMITEST_RETAIN_FILES_ON_FAILURE: "true" | |
| - name: Upload test_temp directory on failure | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| path: test_temp | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v3 | |
| env: | |
| CODECOV_TOKEN: ${{ steps.esc-secrets.outputs.CODECOV_TOKEN }} |