diff options
Diffstat (limited to '.github/workflows')
-rwxr-xr-x | .github/workflows/install_and_test.sh | 6 | ||||
-rw-r--r-- | .github/workflows/pypi-publish.yaml | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/.github/workflows/install_and_test.sh b/.github/workflows/install_and_test.sh index 330102e..7a8cd67 100755 --- a/.github/workflows/install_and_test.sh +++ b/.github/workflows/install_and_test.sh @@ -38,4 +38,8 @@ cd ${TESTDIR} # install, run tests pip install ${PKG} -pytest +# Redis tests +pytest -m 'not onlycluster' +# RedisCluster tests +CLUSTER_URL="redis://localhost:16379/0" +pytest -m 'not onlynoncluster and not redismod' --redis-url=${CLUSTER_URL} diff --git a/.github/workflows/pypi-publish.yaml b/.github/workflows/pypi-publish.yaml index b842c36..3cccb06 100644 --- a/.github/workflows/pypi-publish.yaml +++ b/.github/workflows/pypi-publish.yaml @@ -13,7 +13,7 @@ jobs: - name: install python uses: actions/setup-python@v2 with: - python-version: 3.0 + python-version: 3.9 - name: Install dev tools run: | pip install -r dev_requirements.txt @@ -22,7 +22,7 @@ jobs: - name: Build package run: | python setup.py build - python setup.py dist bdist_wheel + python setup.py sdist bdist_wheel - name: Publish to Pypi uses: pypa/gh-action-pypi-publish@release/v1 |