-
Notifications
You must be signed in to change notification settings - Fork 100
46 lines (37 loc) · 1.25 KB
/
pulumi-aws-tests.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
46
name: Pulumi AWS Tests
on:
- pull_request
- push
jobs:
ubuntu-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: syphar/restore-virtualenv@v1
id: pulumi-aws-tests-cache-virtualenv
with:
requirement_files: pulumi/python/Pipfile.lock
- uses: syphar/restore-pip-download-cache@v1
if: steps.pulumi-aws-tests-cache-virtualenv.outputs.cache-hit != 'true'
- run: ./setup_venv.sh
working-directory: bin
- name: Test
working-directory: bin
run: ./test_runner.sh "/home/runner/work/kic-reference-architectures/kic-reference-architectures"
macos-tests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: syphar/restore-virtualenv@v1
id: pulumi-aws-tests-cache-virtualenv
with:
requirement_files: pulumi/python/Pipfile.lock
- uses: syphar/restore-pip-download-cache@v1
if: steps.pulumi-aws-tests-cache-virtualenv.outputs.cache-hit != 'true'
- run: ./setup_venv.sh
working-directory: bin
- name: Test
working-directory: bin
run: ./test_runner.sh "/Users/runner/work/kic-reference-architectures/kic-reference-architectures"