Skip to content

Missing zeros

Missing zeros #254

name: Check sdist builds and works
on: pull_request
jobs:
testing:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest, macos-13, macos-latest]
include:
- os: macos-13
python-version: "3.7"
- os: ubuntu-22.04
python-version: "3.7"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: pip install poetry
- name: make a clean sdist
run: |
rm -rf dist
poetry build --format sdist
- name: do a clean install
run: |
virtualenv venv
venv/bin/pip install dist/exact_cover-*.tar.gz
venv/bin/pip install pytest
venv/bin/pip install hypothesis
venv/bin/python -m pytest tests/test_exact_cover.py