Skip to content

Commit f2d1c22

Browse files
committed
Setting env variable PROJECT_NUMBER prior building backend docs
1 parent cbea112 commit f2d1c22

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/workflows/build-sphinx.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ jobs:
6161
6262
- name: Checkout repo
6363
uses: actions/[email protected]
64+
with:
65+
fetch-depth: 0
6466

6567
# https://github.com/marketplace/actions/setup-miniconda
6668
- name: Setup miniconda
@@ -100,7 +102,10 @@ jobs:
100102
working-directory: doc
101103

102104
- name: Set a project number to current release
103-
run: set PROJECT_NUMBER=$(git describe --tags --abbrev=0)
105+
run: |
106+
set PROJECT_NUMBER=$(git describe --tags --abbrev=0)
107+
echo PROJECT_NUMBER=${PROJECT_NUMBER}
108+
echo ref_name=${{github.ref_name}}
104109
105110
# https://github.com/marketplace/actions/doxygen-action
106111
- name: Build backend docs

.github/workflows/conda-package.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,9 @@ jobs:
194194
run: conda list
195195

196196
- name: Smoke test
197-
run: python -c "import dpnp, dpctl; dpctl.lsplatform()"
197+
run: |
198+
python -c "import dpnp, dpctl; dpctl.lsplatform()"
199+
python -c "import dpnp; print(dpnp.__version__)"
198200
199201
# TODO: run the whole scope once the issues on CPU are resolved
200202
- name: Run tests
@@ -331,7 +333,9 @@ jobs:
331333
Get-Content -Tail 5 -Path $cl_cfg
332334
333335
- name: Smoke test
334-
run: python -c "import dpnp, dpctl; dpctl.lsplatform()"
336+
run: |
337+
python -c "import dpnp, dpctl; dpctl.lsplatform()"
338+
python -c "import dpnp; print(dpnp.__version__)"
335339
336340
# TODO: run the whole scope once the issues on CPU are resolved
337341
- name: Run tests

0 commit comments

Comments
 (0)