Skip to content

Commit

Permalink
Add CI action to install package from commit hash (#1781) (#1790)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwani99 authored Dec 15, 2021
1 parent c858f8e commit 6c1e215
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit 6c1e215

Please sign in to comment.