diff --git a/.github/ci.sh b/.github/ci.sh index b0ca931..8154b43 100755 --- a/.github/ci.sh +++ b/.github/ci.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash set -euox pipefail +export PYTHON_VERSION=$1 + python -m pip install --no-use-pep517 --no-deps --disable-pip-version-check -e . pytest -v tests diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9a49684..cbe205a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: key: hypothesisDB ${{ matrix.PYTHON_VERSION }} - name: Run the unittests shell: bash -x -l {0} - run: ./.github/ci.sh + run: ./.github/ci.sh ${{ matrix.PYTHON_VERSION }} - name: Publish a Python distribution to PyPI if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && matrix.PYTHON_VERSION == '3.6' uses: pypa/gh-action-pypi-publish@v1.4.2