diff options
author | Ashwani Gupta <ashwanigupta125@gmail.com> | 2021-12-15 20:33:27 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-15 17:03:27 +0200 |
commit | 6c1e215bc8803a4cf72e07d15dedaa51c81d0ff2 (patch) | |
tree | 1d8ad821b7b639833419b0ede6392832cd15c566 | |
parent | c858f8e9157dbb7915fac6d6920c31b12c061ab0 (diff) | |
download | redis-py-6c1e215bc8803a4cf72e07d15dedaa51c81d0ff2.tar.gz |
Add CI action to install package from commit hash (#1781) (#1790)
-rw-r--r-- | .github/workflows/integration.yaml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 10ab3ed..bd0fb2d 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -70,3 +70,19 @@ jobs: - name: Run installed unit tests run: | bash .github/workflows/install_and_test.sh ${{ matrix.extension }} + + install_package_from_commit: + name: Install package from commit hash + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', 'pypy-3.7'] + steps: + - uses: actions/checkout@v2 + - name: install python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: install from pip + run: | + pip install --quiet git+${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git@${GITHUB_SHA} |