Add more typing to the usb module, and catch transfer.submit() failur… #173
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 ioctl-opt libusb1 toml vdf pytest | |
# Build | |
- run: python setup.py build | |
# Test | |
- run: python -m pytest tests |