Skip to content

Merge pull request #38 from oxzi/icinga2-harmonize-cfg #135

Merge pull request #38 from oxzi/icinga2-harmonize-cfg

Merge pull request #38 from oxzi/icinga2-harmonize-cfg #135

Workflow file for this run

---
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
name: Tests
on:
push:
branches: ['main']
pull_request:
branches: ['main']
workflow_dispatch:
jobs:
tests:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
# https://github.com/marketplace/actions/checkout
- uses: actions/checkout@v4
# https://github.com/marketplace/actions/setup-python
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel virtualenv tox tox-gh-actions
# https://github.com/ymyzk/tox-gh-actions
- name: Run tox targets for ${{ matrix.python-version }}
run: python -m tox