Dependency released - Keycloak v #102
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 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
repository_dispatch: | |
env: | |
COLORTERM: 'yes' | |
TERM: 'xterm-256color' | |
PYTEST_ADDOPTS: '--color=yes' | |
jobs: | |
molecule: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python_version: ["3.9"] | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python_version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python_version }} | |
- name: Install yamllint, ansible and molecule | |
run: | | |
python -m pip install --upgrade pip | |
pip install yamllint 'molecule[docker]~=3.5.2' ansible-core flake8 ansible-lint voluptuous | |
pip install -r requirements.txt | |
- name: Run molecule test | |
run: | | |
molecule test --scenario-name=docker | |
env: | |
PY_COLORS: "1" | |
ANSIBLE_FORCE_COLOR: "1" |