Skip to content

Merge pull request #13 from ansible/fix/push-pipeline #59

Merge pull request #13 from ansible/fix/push-pipeline

Merge pull request #13 from ansible/fix/push-pipeline #59

Workflow file for this run

name: Unit tests
on: [push, pull_request]
jobs:
unit_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Python version
run: python --version
- name: PDM installation
run: pip install --user pdm
- name: Install dependencies
run: pdm install
- name: Install devel dependencies
run: pdm install --dev
- name: Run unit tests
run: pdm run python -m pytest tests/unit --cov=ols --cov=runner --cov-report term-missing