From 6c1e215bc8803a4cf72e07d15dedaa51c81d0ff2 Mon Sep 17 00:00:00 2001 From: Ashwani Gupta Date: Wed, 15 Dec 2021 20:33:27 +0530 Subject: Add CI action to install package from commit hash (#1781) (#1790) --- .github/workflows/integration.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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} -- cgit v1.2.1