hack to fix python venv cleanup #553
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: 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 |