mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-04-30 18:30:03 +02:00
updated conda environment (#169)
- updated dev-env.yml conda environment file - added boost-histogram as a requirement for the python tests - added environment file in conda build process
This commit is contained in:
parent
d5226909fe
commit
6db201f397
8
.github/workflows/build_and_deploy_conda.yml
vendored
8
.github/workflows/build_and_deploy_conda.yml
vendored
@ -24,13 +24,13 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Get conda
|
- name: Get conda
|
||||||
uses: conda-incubator/setup-miniconda@v3.0.4
|
uses: conda-incubator/setup-miniconda@v3
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
environment-file: etc/dev-env.yml
|
||||||
|
miniforge-version: latest
|
||||||
channels: conda-forge
|
channels: conda-forge
|
||||||
|
conda-remove-defaults: "true"
|
||||||
- name: Prepare
|
|
||||||
run: conda install conda-build=24.9 conda-verify pytest anaconda-client
|
|
||||||
|
|
||||||
- name: Enable upload
|
- name: Enable upload
|
||||||
run: conda config --set anaconda_upload yes
|
run: conda config --set anaconda_upload yes
|
||||||
|
7
.github/workflows/build_conda.yml
vendored
7
.github/workflows/build_conda.yml
vendored
@ -24,13 +24,14 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Get conda
|
- name: Get conda
|
||||||
uses: conda-incubator/setup-miniconda@v3.0.4
|
uses: conda-incubator/setup-miniconda@v3
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
environment-file: etc/dev-env.yml
|
||||||
|
miniforge-version: latest
|
||||||
channels: conda-forge
|
channels: conda-forge
|
||||||
|
conda-remove-defaults: "true"
|
||||||
|
|
||||||
- name: Prepare
|
|
||||||
run: conda install conda-build=24.9 conda-verify pytest anaconda-client
|
|
||||||
|
|
||||||
- name: Disable upload
|
- name: Disable upload
|
||||||
run: conda config --set anaconda_upload no
|
run: conda config --set anaconda_upload no
|
||||||
|
@ -36,6 +36,7 @@ test:
|
|||||||
- aare
|
- aare
|
||||||
requires:
|
requires:
|
||||||
- pytest
|
- pytest
|
||||||
|
- boost-histogram
|
||||||
source_files:
|
source_files:
|
||||||
- python/tests
|
- python/tests
|
||||||
commands:
|
commands:
|
||||||
|
@ -3,13 +3,11 @@ channels:
|
|||||||
- conda-forge
|
- conda-forge
|
||||||
dependencies:
|
dependencies:
|
||||||
- anaconda-client
|
- anaconda-client
|
||||||
|
- conda-build
|
||||||
- doxygen
|
- doxygen
|
||||||
- sphinx=7.1.2
|
- sphinx=7.1.2
|
||||||
- breathe
|
- breathe
|
||||||
- pybind11
|
|
||||||
- sphinx_rtd_theme
|
- sphinx_rtd_theme
|
||||||
- furo
|
- furo
|
||||||
- nlohmann_json
|
|
||||||
- zeromq
|
- zeromq
|
||||||
- fmt
|
|
||||||
- numpy
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user