-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathJustfile
More file actions
31 lines (24 loc) · 1.09 KB
/
Justfile
File metadata and controls
31 lines (24 loc) · 1.09 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
# Run offline unit tests
test:
pytest
# Run tests that communicate with observatory services
test-online: test
pytest -m online
# Same as test-online but tries to guarantee no data is modified
test-no-side-effect: test
pytest -m online -m "not side_effect"
# Update LCO generated instrument file
update-lco:
curl https://observe.lco.global/api/instruments/ | codegen/lco/generator.py LCO > src/aeonlib/ocs/lco/instruments.py
# Update SOAR generated instrument file
update-soar:
curl https://observe.lco.global/api/instruments/ | codegen/lco/generator.py SOAR > src/aeonlib/ocs/soar/instruments.py
# Update Blanco generated instrument file
update-blanco:
curl https://observe.lco.global/api/instruments/ | codegen/lco/generator.py BLANCO > src/aeonlib/ocs/blanco/instruments.py
# Update SAAO generated instrument file
update-saao:
curl https://ocsio.saao.ac.za/api/instruments/ | codegen/lco/generator.py SAAO > src/aeonlib/ocs/saao/instruments.py
# Update all generated instrument files
update-all: update-lco update-soar update-saao update-blanco
@echo "All updates completed"