Skip to content

Commit 4d1a6a9

Browse files
authored
Install the latest package in nightly run (#2247)
The PR proposes to require installation of the latest dpnp package during night CI run.
1 parent 3ceb358 commit 4d1a6a9

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/cron-run-tests.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,17 @@ jobs:
4545
with:
4646
access_token: ${{ github.token }}
4747

48+
- name: Find the latest tag
49+
id: find_latest_tag
50+
uses: oprypin/find-latest-tag@dd2729fe78b0bb55523ae2b2a310c6773a652bd1 # 1.1.2
51+
with:
52+
repository: IntelPython/dpnp
53+
releases-only: false
54+
55+
- name: Print latest tag
56+
run: |
57+
echo "Latest tag is ${{ steps.find_latest_tag.outputs.tag }}"
58+
4859
- name: Setup miniconda
4960
uses: conda-incubator/setup-miniconda@d2e6a045a86077fb6cad6f5adf368e9076ddaa8d # v3.1.0
5061
with:
@@ -57,7 +68,7 @@ jobs:
5768

5869
- name: Install dpnp
5970
run: |
60-
mamba install ${{ env.PACKAGE_NAME }} pytest ${{ env.CHANNELS }}
71+
mamba install ${{ env.PACKAGE_NAME }}=${{ steps.find_latest_tag.outputs.tag }} pytest ${{ env.CHANNELS }}
6172
env:
6273
MAMBA_NO_LOW_SPEED_LIMIT: 1
6374

0 commit comments

Comments
 (0)