Skip to content

Update ansible requirement from ~=10.1.0 to ~=10.5.0 #93

Update ansible requirement from ~=10.1.0 to ~=10.5.0

Update ansible requirement from ~=10.1.0 to ~=10.5.0 #93

Workflow file for this run

name: Unit tests
on:
push:
workflow_call:
jobs:
container_job:
name: Unit tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11', '3.12']
fail-fast: false
container: python:${{ matrix.python-version }}-slim
steps:
# Downloads a copy of the code in your repository before running CI tests
- name: Check out repository code
uses: actions/checkout@v4
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flit
flit install --deps develop --symlink
env:
FLIT_ROOT_INSTALL: 1
- name: Run Unit tests
run: pytest --cov-branch --cov=lso --cov-report=xml
env:
SETTINGS_FILENAME: dummy.json
- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
files: ./coverage.xml