fix(ci): pin + cache

This commit is contained in:
Timothy Stewart
2022-11-01 19:40:28 -05:00
parent dbb2cda17a
commit 94e385c28e
2 changed files with 11 additions and 5 deletions

View File

@@ -55,10 +55,14 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
cache: 'pip' # caching pip dependencies
- name: Install dependencies
run: >-
python3 -m pip install --upgrade pip &&
run: |
echo "::group::Upgrade pip"
python3 -m pip install --upgrade pip
echo "::endgroup::"
echo "::group::Install Python requirements from requirements.txt"
python3 -m pip install -r requirements.txt
echo "::endgroup::"
- name: Test with molecule
run: molecule test --scenario-name ${{ matrix.scenario }}