Skip to content

Commit

Permalink
ci: do not use \ since it doesn't work on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjayankur31 committed Sep 7, 2023
1 parent 23e5a74 commit eb8016f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,23 @@ jobs:
NSGR_PASSWORD: ${{ secrets.NSGR_PASSWORD }}
NSGR_APPID: ${{ secrets.NSGR_APPID }}
run: |
echo "APPNAME=PY_EXPANSE" > ./nsgrest.conf
echo "URL=https://nsgr.sdsc.edu:8443/cipresrest/v1" >> ./nsgrest.conf
echo "APPNAME=PY_EXPANSE" > nsgrest.conf
echo "URL=https://nsgr.sdsc.edu:8443/cipresrest/v1" >> nsgrest.conf
more ./nsgrest.conf # print contents so far...
more nsgrest.conf # print contents so far...
echo "USERNAME=${NSGR_USERNAME}" >> ./nsgrest.conf
echo "PASSWORD=${NSGR_PASSWORD}" >> ./nsgrest.conf
echo "APPID=${NSGR_APPID}" >> ./nsgrest.conf
echo "USERNAME=${NSGR_USERNAME}" >> nsgrest.conf
echo "PASSWORD=${NSGR_PASSWORD}" >> nsgrest.conf
echo "APPID=${NSGR_APPID}" >> nsgrest.conf
- name: Version info
run: |
pip list
- name: Test listing
run: |
nsgr_job -c ./nsgrest.conf -l
nsgr_job -c nsgrest.conf -l
- name: Test submission
run: |
cd example/ && nsgr_submit -c ./nsgrest.conf . validate && nsgr_submit -c ./nsgrest.conf . run && cd NGBW* && tar -xvf output.tar.gz && echo ; echo ; echo "Output file contents:" ; echo && cat example_dir/output.txt
cd example && nsgr_submit -c nsgrest.conf . validate && nsgr_submit -c nsgrest.conf . run && cd NGBW* && tar -xvf output.tar.gz && echo ; echo ; echo "Output file contents:" ; echo && cd example_dir && cat output.txt

0 comments on commit eb8016f

Please sign in to comment.