Move return value check right after parser call for fromxml_str()
#68
Workflow file for this run
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: Python CI | |
on: pull_request | |
jobs: | |
python-build: | |
name: Python Build | |
runs-on: ubuntu-latest | |
container: fedora:latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
sudo dnf -y install dnf-plugins-core python3-pip | |
sudo dnf -y builddep libcomps.spec | |
pip install --upgrade pip | |
pip install pytest | |
- name: Compile and Install | |
run: pip install --user . | |
- name: Test | |
run: | | |
pushd libcomps/src/python/tests/ | |
pytest --verbose --color=yes ./ | |
popd |