@@ -36,16 +36,55 @@ jobs:
36
36
- name : Install requirements
37
37
run : pip install -r requirements.txt
38
38
39
+ # Set 'download_attempts' in configuration file
40
+ - name : Set 'download_attempts' in configuration file
41
+ run : python eodms_cli.py --configure RAPI.download_attempts=20
42
+
43
+ # Runs a single command using the runners shell
44
+ - name : Run EODMS-CLI - Process 1
45
+ env :
46
+ EODMS_USER : ${{ secrets.EODMS_USER }}
47
+ EODMS_PASSWORD : ${{ secrets.EODMS_PWD }}
48
+ run : python eodms_cli.py -u $EODMS_USER -p $EODMS_PASSWORD -c RCMImageProducts,Radarsat2 -d 20190101-20220527 -i test/files/NCR_AOI.geojson -max 2:1 -prc full -ov 30 -f "RCMImageProducts.beam_mnemonic like 16M%%,RCMImageProducts.product_type=SLC,Radarsat2.beam_mnemonic like EH%%,Radarsat2.transmit_polarization=H" -o test/files/test1_auto.geojson -dn test/downloads -pri low -s
49
+
50
+ # Runs a single command using the runners shell
51
+ - name : Run EODMS-CLI - Process 2
52
+ env :
53
+ EODMS_USER : ${{ secrets.EODMS_USER }}
54
+ EODMS_PASSWORD : ${{ secrets.EODMS_PWD }}
55
+ run : python eodms_cli.py -u $EODMS_USER -p $EODMS_PASSWORD -i test/files/RCMImageProducts_Results.csv -max 4 -prc order_csv -o test/files/test2_auto.geojson -pri low -s
56
+
57
+ # Runs a single command using the runners shell
58
+ - name : Run EODMS-CLI - Process 3
59
+ env :
60
+ EODMS_USER : ${{ secrets.EODMS_USER }}
61
+ EODMS_PASSWORD : ${{ secrets.EODMS_PWD }}
62
+ run : python eodms_cli.py -u $EODMS_USER -p $EODMS_PASSWORD -i "RCMImageProducts:13531983|13531917,Radarsat2:13532412,Radarsat1:5053934" -prc record_id -a -o test/files/test3_auto.geojson -pri low -s
63
+
64
+ # Runs a single command using the runners shell
65
+ - name : Run EODMS-CLI - Process 4
66
+ env :
67
+ EODMS_USER : ${{ secrets.EODMS_USER }}
68
+ EODMS_PASSWORD : ${{ secrets.EODMS_PWD }}
69
+ run : python eodms_cli.py -u $EODMS_USER -p $EODMS_PASSWORD -prc download_available -o test/files/test4_auto.geojson -s
70
+
39
71
# Runs a single command using the runners shell
40
- - name : Run EODMS-CLI
72
+ - name : Run EODMS-CLI - Process 5
41
73
env :
42
74
EODMS_USER : ${{ secrets.EODMS_USER }}
43
75
EODMS_PASSWORD : ${{ secrets.EODMS_PWD }}
44
- run : python eodms_cli.py -u $EODMS_USER -p $EODMS_PASSWORD -i tests\files\RCMImageProducts_Results.csv -max 4 -prc order_csv -o tests\files\test2_auto.geojson -pri low -s
45
-
76
+ run : python eodms_cli.py -u $EODMS_USER -p $EODMS_PASSWORD -i test/files/20220530_145625_Results.csv -prc download_results -o test/test5_auto.geojson -s
77
+
78
+ # Runs a single command using the runners shell
79
+ - name : Run EODMS-CLI - Process 6
80
+ env :
81
+ EODMS_USER : ${{ secrets.EODMS_USER }}
82
+ EODMS_PASSWORD : ${{ secrets.EODMS_PWD }}
83
+ run : python eodms_cli.py -u $EODMS_USER -p $EODMS_PASSWORD -prc order_st -st test/files/sar_toolbox_request.json -o test/test6_auto.geojson -s
84
+
46
85
# List files
47
86
- name : List files
48
- run : ls
87
+ run : ls -all
49
88
50
89
# Runs a set of commands using the runners shell
51
90
# - name: Run a multi-line script
0 commit comments