Fix: str2bool does not raise ValueError on invalid value, enable build and pytest #2
Workflow file for this run
This file contains hidden or 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: Buddy Build | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| max-parallel: 4 | |
| matrix: | |
| python-version: [3.11, 3.13] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install setuptools wheel pytest responses | |
| - name: Build | |
| env: | |
| CI: 1 | |
| run: | | |
| python setup.py sdist bdist_wheel | |
| - name: Install wheel | |
| run: | |
| pip install dist/amcrest-*.whl | |
| - name: Test | |
| run: | | |
| pytest -v |