summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChayim I. Kirshen <c@kirshen.com>2021-11-09 12:17:59 +0200
committerChayim I. Kirshen <c@kirshen.com>2021-11-09 12:17:59 +0200
commit3e5b56f9c70f8fdb6a3164e509f17e69551fd602 (patch)
tree2f0a60d038274f606171dbfdc5c56be84fb1eeef
parente2fbe3b5c5829736372cc3d65979198bed7349c6 (diff)
downloadredis-py-3e5b56f9c70f8fdb6a3164e509f17e69551fd602.tar.gz
Adding package installation tests
closes #1650
-rw-r--r--.github/workflows/integration.yaml9
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml
index 4a07394..2765de9 100644
--- a/.github/workflows/integration.yaml
+++ b/.github/workflows/integration.yaml
@@ -51,7 +51,7 @@ jobs:
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}
- build_package:
+ build_and_test_package:
name: Validate building and installing the package
runs-on: ubuntu-latest
steps:
@@ -62,5 +62,10 @@ jobs:
python-version: 3.9
- name: build and install
run: |
- pip install invoke
+ pip install -r dev_requirements.txt
invoke package
+ invoke devenv
+ pip install dist/*.tar.gz
+ mkdir STAGEAREA
+ cp -Rp tests STAGEAREA
+ pytest