glauth with local config and TLS #15
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: glauth with local config and TLS | |
on: | |
workflow_dispatch: | |
workflow_run: | |
workflows: | |
- "CI" | |
types: | |
- completed | |
defaults: | |
run: | |
working-directory: 'ansible-glauth' | |
jobs: | |
deb: | |
name: "${{ matrix.image }} / ansible: ${{ matrix.ansible-version }}" | |
runs-on: ubuntu-20.04 | |
if: ${{ github.event_name == 'schedule' || github.event.workflow_run.conclusion == 'success' }} | |
strategy: | |
fail-fast: false | |
matrix: | |
image: | |
- debian:12 | |
python_version: | |
- "3.11.3" | |
ansible-version: | |
- '6.7' | |
scenario: | |
- local-config-with-tls | |
steps: | |
- name: check out the codebase. | |
uses: actions/checkout@v3 | |
with: | |
path: 'ansible-glauth' | |
ref: ${{ github.event.workflow_run.head_branch }} | |
- name: 🐍 set up python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "${{ matrix.python_version }}" | |
- name: install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r test-requirements.txt | |
- name: test with tox | |
run: | | |
make \ | |
test \ | |
-e TOX_SCENARIO="${{ matrix.scenario }}" \ | |
-e TOX_ANSIBLE="ansible_${{ matrix.ansible-version }}" \ | |
-e DISTRIBUTION="${{ matrix.image }}" | |
env: | |
PY_COLORS: '1' | |
ANSIBLE_FORCE_COLOR: '1' | |
DISTRIBUTION: ${{ matrix.image }} |