Bump actions/setup-python from 4.5.0 to 4.7.0 #124
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: molecule tests | |
on: | |
push: | |
branches: | |
- '**' # matches every branch | |
pull_request: | |
branches: | |
- 'master' | |
jobs: | |
molecule: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
scenarios: | |
- default | |
- debian-max-cm-max | |
- debian-min-cm-min | |
- fedora-cm-max | |
- opensuse-cm-max | |
- ubuntu-max-cm-max | |
- ubuntu-max-cm-min | |
- ubuntu-min-cm-max | |
- ubuntu-min-cm-min | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.x | |
uses: actions/[email protected] | |
with: | |
python-version: 3.9.12 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pipenv | |
- name: Use Cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.cache/pipenv | |
key: ${{ runner.os }}-pipenv-${{ hashFiles('**/Pipfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-pipenv- | |
- name: Molecule install dependencies | |
run: ./moleculew wrapper-install | |
- name: Molecule display versions | |
run: ./moleculew wrapper-versions | |
- name: Molecule test | |
run: "./moleculew test --scenario-name=${{ matrix.scenarios }}" |