Skip to content

Fix: str2bool does not raise ValueError on invalid value, enable build and pytest #2

Fix: str2bool does not raise ValueError on invalid value, enable build and pytest

Fix: str2bool does not raise ValueError on invalid value, enable build and pytest #2

Workflow file for this run

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