Skip to content

Commit 378bcff

Browse files
authored
Merge pull request #56 from eodms-sgdot/development
Development
2 parents 5e9e926 + 3064282 commit 378bcff

File tree

10 files changed

+3776
-387
lines changed

10 files changed

+3776
-387
lines changed

.github/workflows/cli_tests.yml

Lines changed: 43 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,55 @@ jobs:
3636
- name: Install requirements
3737
run: pip install -r requirements.txt
3838

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+
3971
# Runs a single command using the runners shell
40-
- name: Run EODMS-CLI
72+
- name: Run EODMS-CLI - Process 5
4173
env:
4274
EODMS_USER: ${{ secrets.EODMS_USER }}
4375
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+
4685
# List files
4786
- name: List files
48-
run: ls
87+
run: ls -all
4988

5089
# Runs a set of commands using the runners shell
5190
# - name: Run a multi-line script

.github/workflows/prompt_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
124124
# List files
125125
- name: List files
126-
run: ls
126+
run: ls -all
127127

128128
# Runs a set of commands using the runners shell
129129
# - name: Run a multi-line script

0 commit comments

Comments
 (0)