Update Konflux references #171
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: 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 |