Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/build-sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
permissions: read-all

env:
# Pinned: Miniforge3 26.9.4-0 fails 'conda init' on Windows runners
MINIFORGE_VERSION: '26.7.2-1'
GH_BOT_NAME: 'github-actions[bot]'
GH_BOT_EMAIL: 'github-actions[bot]@users.noreply.github.com'
GH_EVENT_PUSH_UPSTREAM: ${{ github.ref == 'refs/heads/master' && github.event_name == 'push' &&
Expand Down Expand Up @@ -114,7 +116,7 @@ jobs:
continue-on-error: true
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.MINIFORGE_VERSION }}
use-mamba: 'true'
conda-remove-defaults: 'true'
environment-file: ${{ env.environment-file }}
Expand All @@ -124,7 +126,7 @@ jobs:
if: steps.setup_miniconda.outcome == 'failure'
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.MINIFORGE_VERSION }}
use-mamba: 'true'
conda-remove-defaults: 'true'
environment-file: ${{ env.environment-file }}
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/check-onemath.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ permissions:
contents: read

env:
# Pinned: Miniforge3 26.9.4-0 fails 'conda init' on Windows runners
miniforge-version: '26.7.2-1'
environment-file: 'environments/environment.yml'
environment-file-name: 'environment.yml'
environment-file-loc: '${{ github.workspace }}/environments'
Expand Down Expand Up @@ -126,7 +128,7 @@ jobs:
continue-on-error: true
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.miniforge-version }}
use-mamba: 'true'
conda-remove-defaults: 'true'
environment-file: ${{ env.environment-file }}
Expand All @@ -136,7 +138,7 @@ jobs:
if: steps.setup_miniconda.outcome == 'failure'
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.miniforge-version }}
use-mamba: 'true'
conda-remove-defaults: 'true'
environment-file: ${{ env.environment-file }}
Expand Down Expand Up @@ -260,7 +262,7 @@ jobs:
continue-on-error: true
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.miniforge-version }}
use-mamba: 'true'
conda-remove-defaults: 'true'
environment-file: ${{ env.environment-file }}
Expand All @@ -270,7 +272,7 @@ jobs:
if: steps.setup_miniconda.outcome == 'failure'
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.miniforge-version }}
use-mamba: 'true'
conda-remove-defaults: 'true'
environment-file: ${{ env.environment-file }}
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/conda-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ permissions:
contents: read

env:
# Pinned: Miniforge3 26.9.4-0 fails 'conda init' on Windows runners
miniforge-version: '26.7.2-1'
package-name: dpnp
module-name: dpnp
ver-script-part1: "import json; f = open('version.json', 'r'); j = json.load(f); f.close(); "
Expand Down Expand Up @@ -75,7 +77,7 @@ jobs:
continue-on-error: true
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.miniforge-version }}
use-mamba: 'true'
conda-remove-defaults: 'true'
environment-file: ${{ env.build-conda-pkg-env }}
Expand All @@ -85,7 +87,7 @@ jobs:
if: steps.setup_miniconda.outcome == 'failure'
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.miniforge-version }}
use-mamba: 'true'
conda-remove-defaults: 'true'
environment-file: ${{ env.build-conda-pkg-env }}
Expand Down Expand Up @@ -187,7 +189,7 @@ jobs:
continue-on-error: true
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.miniforge-version }}
use-mamba: 'true'
conda-remove-defaults: 'true'
environment-file: ${{ env.create-conda-channel-env }}
Expand All @@ -197,7 +199,7 @@ jobs:
if: steps.setup_miniconda.outcome == 'failure'
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.miniforge-version }}
use-mamba: 'true'
conda-remove-defaults: 'true'
environment-file: ${{ env.create-conda-channel-env }}
Expand Down
26 changes: 14 additions & 12 deletions .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ permissions:
contents: read

env:
# Pinned: Miniforge3 26.9.4-0 fails 'conda init' on Windows runners
miniforge-version: '26.7.2-1'
package-name: dpnp
# Follow oneAPI installation instruction for conda, since intel channel is not longer available
# channels-list: '-c dppy/label/dev -c intel -c conda-forge --override-channels'
Expand Down Expand Up @@ -208,7 +210,7 @@ jobs:
continue-on-error: true
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.miniforge-version }}
use-mamba: 'true'
conda-remove-defaults: 'true'
environment-file: ${{ env.create-conda-channel-env }}
Expand All @@ -218,7 +220,7 @@ jobs:
if: steps.setup_miniconda.outcome == 'failure'
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.miniforge-version }}
use-mamba: 'true'
conda-remove-defaults: 'true'
environment-file: ${{ env.create-conda-channel-env }}
Expand Down Expand Up @@ -363,7 +365,7 @@ jobs:
continue-on-error: true
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.miniforge-version }}
use-mamba: 'true'
conda-remove-defaults: 'true'
environment-file: ${{ env.examples-conda-pkg-env }}
Expand All @@ -373,7 +375,7 @@ jobs:
if: steps.setup_miniconda.outcome == 'failure'
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.miniforge-version }}
use-mamba: 'true'
conda-remove-defaults: 'true'
environment-file: ${{ env.examples-conda-pkg-env }}
Expand Down Expand Up @@ -497,7 +499,7 @@ jobs:
continue-on-error: true
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.miniforge-version }}
use-mamba: 'true'
conda-remove-defaults: 'true'
environment-file: ${{ env.create-conda-channel-env }}
Expand All @@ -507,7 +509,7 @@ jobs:
if: steps.setup_miniconda.outcome == 'failure'
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.miniforge-version }}
use-mamba: 'true'
conda-remove-defaults: 'true'
environment-file: ${{ env.create-conda-channel-env }}
Expand Down Expand Up @@ -692,7 +694,7 @@ jobs:
continue-on-error: true
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.miniforge-version }}
use-mamba: 'true'
conda-remove-defaults: 'true'
environment-file: ${{ env.upload-conda-pkg-env }}
Expand All @@ -702,7 +704,7 @@ jobs:
if: steps.setup_miniconda.outcome == 'failure'
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.miniforge-version }}
use-mamba: 'true'
conda-remove-defaults: 'true'
environment-file: ${{ env.upload-conda-pkg-env }}
Expand Down Expand Up @@ -774,7 +776,7 @@ jobs:
continue-on-error: true
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.miniforge-version }}
use-mamba: 'true'
conda-remove-defaults: 'true'
environment-file: ${{ env.create-conda-channel-env }}
Expand All @@ -784,7 +786,7 @@ jobs:
if: steps.setup_miniconda.outcome == 'failure'
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.miniforge-version }}
use-mamba: 'true'
conda-remove-defaults: 'true'
environment-file: ${{ env.create-conda-channel-env }}
Expand Down Expand Up @@ -925,7 +927,7 @@ jobs:
continue-on-error: true
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.miniforge-version }}
use-mamba: 'true'
conda-remove-defaults: 'true'
environment-file: ${{ env.cleanup-conda-pkg-env }}
Expand All @@ -935,7 +937,7 @@ jobs:
if: steps.setup_miniconda.outcome == 'failure'
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.miniforge-version }}
use-mamba: 'true'
conda-remove-defaults: 'true'
environment-file: ${{ env.cleanup-conda-pkg-env }}
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/cron-run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
permissions: read-all

env:
# Pinned: Miniforge3 26.9.4-0 fails 'conda init' on Windows runners
miniforge-version: '26.7.2-1'
package-name: dpnp
channels-list: '-c dppy/label/dev -c https://software.repos.intel.com/python/conda/ -c conda-forge --override-channels'
test-env-name: test
Expand Down Expand Up @@ -87,7 +89,7 @@ jobs:
continue-on-error: true
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.miniforge-version }}
use-mamba: 'true'
channels: conda-forge
conda-remove-defaults: 'true'
Expand All @@ -98,7 +100,7 @@ jobs:
if: steps.setup_miniconda.outcome == 'failure'
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.miniforge-version }}
use-mamba: 'true'
channels: conda-forge
conda-remove-defaults: 'true'
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/generate_coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
shell: bash -el {0}

env:
# Pinned: Miniforge3 26.9.4-0 fails 'conda init' on Windows runners
miniforge-version: '26.7.2-1'
environment-file: 'environments/environment.yml'
build-with-oneapi-env: 'environments/build_with_oneapi.yml'
coverage-env: 'environments/coverage.yml'
Expand Down Expand Up @@ -81,7 +83,7 @@ jobs:
continue-on-error: true
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.miniforge-version }}
use-mamba: 'true'
conda-remove-defaults: 'true'
environment-file: ${{ env.environment-file }}
Expand All @@ -91,7 +93,7 @@ jobs:
if: steps.setup_miniconda.outcome == 'failure'
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: latest
miniforge-version: ${{ env.miniforge-version }}
use-mamba: 'true'
conda-remove-defaults: 'true'
environment-file: ${{ env.environment-file }}
Expand Down
Loading