Fix return code when subprocess fails #116
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: SCC Linux CI | |
on: | |
push: | |
branches: | |
- main | |
- master | |
- python3 | |
pull_request: | |
branches: | |
- main | |
- master | |
- python3 | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
# Install dependencies | |
- run: pip install pytest vdf libusb1 ioctl-opt | |
# Build | |
- run: python setup.py build | |
# Test | |
- run: python -m pytest tests |