-
Notifications
You must be signed in to change notification settings - Fork 100
48 lines (39 loc) · 1.32 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
47
48
name: Pulumi AWS Tests
on:
- pull_request
- push
jobs:
ubuntu-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
cache: 'pipenv'
python-version-file: '.python-version'
cache-dependency-path: |
pulumi/python/Pipfile.lock
- 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"
# Hack to make the postjob work by the python gh action not fail since we have the venv elsewhere
- run: mkdir -p /home/runner/.local/share/virtualenvs
macos-tests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
cache: 'pipenv'
python-version-file: '.python-version'
cache-dependency-path: |
pulumi/python/Pipfile.lock
- 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"
# Hack to make the postjob work by the python gh action not fail since we have the venv elsewhere
- run: mkdir -p /Users/runner/.local/share/virtualenvs