An example of azure-cosmosdb-logicapp #267
Workflow file for this run
This file contains 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
name: Examples smoke tests | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ 'main', 'develop' ] | |
paths: | |
- 'examples/**' | |
pull_request: | |
branches: [ 'main', 'develop' ] | |
paths: | |
- 'examples/**' | |
env: | |
PULUMI_CONFIG_PASSPHRASE: 'passphrase' | |
PULUMI_SKIP_UPDATE_CHECK: 'true' | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
preview: | |
if: "! github.event.pull_request.head.repo.fork" | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: read | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: extractions/setup-just@v1 | |
with: | |
just-version: '1.14.0' # just for sanity | |
- uses: pulumi/actions@v4 | |
with: | |
pulumi-version: '3.94.2' | |
- uses: coursier/[email protected] | |
- uses: VirtusLab/[email protected] | |
with: | |
jvm: graalvm-java17:22.3.3 | |
power: true | |
- name: Login in to pulumi | |
run: pulumi login --local | |
- name: Test examples | |
env: | |
AWS_EC2_METADATA_DISABLED: true | |
run: |- | |
just test-examples |