-
Notifications
You must be signed in to change notification settings - Fork 7
45 lines (42 loc) · 1.12 KB
/
examples.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Examples smoke tests
on:
push:
branches: [ 'main', 'develop' ]
paths:
- 'examples/**'
pull_request:
branches: [ 'main', 'develop' ]
paths:
- 'examples/**'
env:
PULUMI_CONFIG_PASSPHRASE: 'passphrase'
jobs:
preview:
if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: extractions/setup-just@v1
with:
just-version: '1.14.0' # just for sanity
- uses: pulumi/actions@v4
with:
pulumi-version: '3.86.0'
- uses: coursier/[email protected]
- uses: VirtusLab/[email protected]
with:
jvm: 11
power: true
- name: Login in to pulumi
run: pulumi login --local
- name: Install language plugin
run: |-
pulumi plugin install language scala --server github://api.github.com/VirtusLab/besom
- name: Test examples
env:
AWS_EC2_METADATA_DISABLED: true
run: |-
just test-examples