Use self-hosted github-runner to run molecule #11
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: CI - Molecule | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- stable-* | |
jobs: | |
test: | |
name: Molecule | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
cache: 'pipenv' | |
cache-dependency-path: | | |
server/app/Pipfile.lock | |
__test__/app/Pipfile.lock | |
- name: Install pipenv | |
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python | |
- run: pipenv install | |
- name: Run molecule | |
run: molecule test -s get_xml_tag |