forked from usra-riacs/stochastic-benchmark
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathenvironment-ci.yml
More file actions
47 lines (43 loc) · 1.26 KB
/
Copy pathenvironment-ci.yml
File metadata and controls
47 lines (43 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Conda environment file to replicate CI testing conditions
# This environment matches the GitHub Actions CI setup for local testing
#
# Usage:
# conda env create -f environment-ci.yml
# conda activate stochastic-benchmark-ci
#
# To test with different Python versions (like CI does with 3.10, 3.11, 3.12):
# conda env create -f environment-ci.yml -n stochastic-benchmark-ci-py311 python=3.11
# conda env create -f environment-ci.yml -n stochastic-benchmark-ci-py312 python=3.12
name: stochastic-benchmark-ci
channels:
- conda-forge
- defaults
dependencies:
# Python version (CI tests 3.10, 3.11, 3.12)
- python=3.10
# Only install pip from conda, everything else via pip for consistency with CI
- pip
# Install all packages via pip to match CI exactly
- pip:
# Core dependencies from requirements.txt
- numpy>=2.0
- pandas>=2.3
- scipy>=1.11
- matplotlib>=3.7
- seaborn>=0.13.2
- networkx>=3.0
- tqdm>=4.66
- cloudpickle>=2.2
- dill>=0.3.5
- fonttools>=4.25
- mkl-service>=2.5.2
- multiprocess>=0.70.18
- munkres>=1.1.4
# Testing dependencies from requirements-dev.txt
- pytest
- pytest-cov
- pytest-xdist
# Linting (used in CI)
- flake8
# Coverage tools
- coverage