Skip to content

Commit 40ad7d9

Browse files
committed
Install the latest package in nightly run
1 parent 3ceb358 commit 40ad7d9

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,15 @@ 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@v1dd2729fe78b0bb55523ae2b2a310c6773a652bd1 # 1.1.2
51+
with:
52+
repository: IntelPython/dpnp
53+
releases-only: false
54+
55+
- run: echo "Latest DPNP tag is ${{ steps.find_latest_tag.outputs.tag }}"
56+
4857
- name: Setup miniconda
4958
uses: conda-incubator/setup-miniconda@d2e6a045a86077fb6cad6f5adf368e9076ddaa8d # v3.1.0
5059
with:
@@ -57,7 +66,7 @@ jobs:
5766

5867
- name: Install dpnp
5968
run: |
60-
mamba install ${{ env.PACKAGE_NAME }} pytest ${{ env.CHANNELS }}
69+
mamba install ${{ env.PACKAGE_NAME }}=${{ steps.find_latest_tag.outputs.tag }} pytest ${{ env.CHANNELS }}
6170
env:
6271
MAMBA_NO_LOW_SPEED_LIMIT: 1
6372

0 commit comments

Comments
 (0)