File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ version : 2.1
2+
3+ # -------------------------------------------------------------------------------------
4+ # Commands
5+ # -------------------------------------------------------------------------------------
6+
7+ commands :
8+
9+ py_3_7_setup :
10+ description : " Install and switch to Python 3.7.5; also install pip and pytest."
11+ steps :
12+ - run :
13+ name : " Setup Python v3.7.5 environment"
14+ command : |
15+ cd /opt/circleci/.pyenv && git pull && cd -
16+ pyenv install -s 3.7.5
17+ pyenv global 3.7.5
18+ pyenv local 3.7.5
19+ pyenv versions
20+ echo "In venv: $(pyenv local) - $(python -V), $(pip -V)"
21+ sudo "$(which python)" -m pip install --upgrade pip
22+ sudo "$(which python)" -m pip install pytest
23+
24+ cifar10_integration_test :
25+ description : " Run Cifar-10 integration test"
26+ steps :
27+ - run :
28+ name : " Install FL Simulator and run end to end Cifar10 test"
29+ command : |
30+ pip install flsim
31+ cd FLSim/examples
32+ python3 cifar10_example.py --config-file configs/cifar10_config.json
You can’t perform that action at this time.
0 commit comments