Skip to content

Commit

Permalink
Install the latest package in nightly run
Browse files Browse the repository at this point in the history
  • Loading branch information
antonwolfy committed Jan 3, 2025
1 parent 3ceb358 commit 0337e03
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/cron-run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,17 @@ jobs:
with:
access_token: ${{ github.token }}

- name: Find the latest tag
id: find_latest_tag
uses: oprypin/find-latest-tag@dd2729fe78b0bb55523ae2b2a310c6773a652bd1 # 1.1.2
with:
repository: IntelPython/dpnp
releases-only: false

- name: Print latest tag
run: |
echo "Latest tag is ${{ steps.find_latest_tag.outputs.tag }}"
- name: Setup miniconda
uses: conda-incubator/setup-miniconda@d2e6a045a86077fb6cad6f5adf368e9076ddaa8d # v3.1.0
with:
Expand All @@ -57,7 +68,7 @@ jobs:

- name: Install dpnp
run: |
mamba install ${{ env.PACKAGE_NAME }} pytest ${{ env.CHANNELS }}
mamba install ${{ env.PACKAGE_NAME }}=${{ steps.find_latest_tag.outputs.tag }} pytest ${{ env.CHANNELS }}
env:
MAMBA_NO_LOW_SPEED_LIMIT: 1

Expand Down

0 comments on commit 0337e03

Please sign in to comment.