Skip to content

Update readme and add funding #55

Update readme and add funding

Update readme and add funding #55

Workflow file for this run

name: pytest
on:
push:
paths:
- '**.py'
- .github/workflows/pytest.yml
jobs:
pytest:
runs-on: ubuntu-latest
container:
image: checkmk/check-mk-raw:2.3.0-latest
env:
OMD_ROOT: /omd/sites/cmk
OMD_SITE: cmk
CMK_SITE_ID: cmk
WORKSPACE: ${{ github.workspace }}
steps:
- name: Initialize Checkmk Site
run: /docker-entrypoint.sh /bin/true
- uses: actions/checkout@v4
- name: Setup links
run: .devcontainer/symlink.sh
- name: Install pytest
run: su -l -c "REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt pip3 install -r $GITHUB_WORKSPACE/.devcontainer/requirements.txt" cmk
- name: Run pytest
run: |
REPORT="$(mktemp)"
chown -R cmk:cmk $GITHUB_WORKSPACE $REPORT
su -l -c "cd $GITHUB_WORKSPACE; python3 -m pytest -v --emoji -cov . --md $REPORT " cmk
cat $REPORT > $GITHUB_STEP_SUMMARY