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+ # Run offline unit tests
2+ test :
3+ pytest
4+
5+ # Run tests that communicate with observatory services
6+ test-online : test
7+ pytest -m online
8+
9+ # Same as test-online but tries to guarantee no data is modified
10+ test-no-side-effect : test
11+ pytest -m online -m " not side_effect"
12+
13+ # Update LCO generated instrument file
14+ update-lco :
15+ curl https:// observe.lco.global/ api/ instruments/ | codegen/ lco/ generator.py LCO > src/ aeonlib/ ocs/ lco/ instruments.py
16+
17+ # Update SOAR generated instrument file
18+ update-soar :
19+ curl https:// observe.lco.global/ api/ instruments/ | codegen/ lco/ generator.py SOAR > src/ aeonlib/ ocs/ soar/ instruments.py
20+
21+ # Update SAAO generated instrument file
22+ update-saao :
23+ curl https:// ocsio.saao.ac.za/ api/ instruments/ | codegen/ lco/ generator.py SAAO > src/ aeonlib/ ocs/ saao/ instruments.py
24+
25+ # Update all generated instrument files
26+ update-all : update-lco update-soar update-saao
27+ @ echo " All updates completed"
You can’t perform that action at this time.
0 commit comments