Skip to content

Commit

Permalink
Use a single interferogram test on slow MacOS GitHub runners
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Pechnikov committed Jan 21, 2024
1 parent 37b77a2 commit a380224
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ jobs:
export PATH=$PATH:/Users/runner/work/gmtsar/gmtsar/GMTSAR/bin
ulimit -n 10000
# remove Google Colab specific commands and add __main__ section
cat imperial_valley_2015.py \
cat pico_do_fogo_volcano_eruption_2014.py \
| sed '/if \x27google\.colab\x27 in sys\.modules:/,/^$/d' \
| sed 's/^[[:blank:]]*!.*$//' \
| awk '/username = \x27GoogleColab2023\x27/ {print "if __name__ == \x27__main__\x27:"; indent=1} {if(indent) sub(/^/, " "); print}' \
> imperial_valley_2015.fixed.py
python3 imperial_valley_2015.fixed.py
> pico_do_fogo_volcano_eruption_2014.fixed.py
python3 pico_do_fogo_volcano_eruption_2014.fixed.py
- name: Archive test results
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit a380224

Please sign in to comment.