updated package version for @rvmack and @sfuhrm contributions #47
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: pytest | |
on: | |
push: [] | |
jobs: | |
pytest: | |
runs-on: ubuntu-latest | |
container: | |
image: checkmk/check-mk-raw:2.2.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@v3 | |
- 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: Update GITHUB_PATH | |
run: echo "/omd/sites/cmk/bin" >> $GITHUB_PATH | |
- name: Run pytest | |
run: python3 -m pytest |