Skip to content

Commit 6c1e215

Browse files
authored
Add CI action to install package from commit hash (#1781) (#1790)
1 parent c858f8e commit 6c1e215

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/integration.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,19 @@ jobs:
7070
- name: Run installed unit tests
7171
run: |
7272
bash .github/workflows/install_and_test.sh ${{ matrix.extension }}
73+
74+
install_package_from_commit:
75+
name: Install package from commit hash
76+
runs-on: ubuntu-latest
77+
strategy:
78+
matrix:
79+
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', 'pypy-3.7']
80+
steps:
81+
- uses: actions/checkout@v2
82+
- name: install python ${{ matrix.python-version }}
83+
uses: actions/setup-python@v2
84+
with:
85+
python-version: ${{ matrix.python-version }}
86+
- name: install from pip
87+
run: |
88+
pip install --quiet git+${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git@${GITHUB_SHA}

0 commit comments

Comments
 (0)