chore(deps): update python #169
Workflow file for this run
This file contains hidden or 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: cost-optimization-hpa-config-recommender-ci | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - '.github/workflows/cost-optimization-hpa-config-recommender-ci.yml' | |
| - 'cost-optimization/hpa-config-recommender/**' | |
| pull_request: | |
| paths: | |
| - '.github/workflows/cost-optimization-hpa-config-recommender-ci.yml' | |
| - 'cost-optimization/hpa-config-recommender/**' | |
| jobs: | |
| build_and_test: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Validate terraform | |
| run: | | |
| cd cost-optimization/hpa-config-recommender/deploy | |
| ls | |
| terraform init | |
| terraform validate | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: 3.13.7 | |
| - name: Build and run tests | |
| run: | | |
| cd cost-optimization/hpa-config-recommender/ | |
| python3 -m venv venv | |
| source venv/bin/activate | |
| pip3 install build | |
| pip3 install pytest | |
| python3 -m build | |
| pip3 install dist/hpaconfigrecommender-*.tar.gz | |
| pytest # Run pytest |