Skip to content

Commit

Permalink
Continue adopting Google Colab scripts to CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyPechnikov committed Jan 21, 2024
1 parent 273ac33 commit 1255082
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
export PATH=$PATH:/Users/runner/work/gmtsar/gmtsar/GMTSAR/bin
# remove Google Colab specific commands
sed -i '' '/if \x27google\.colab\x27 in sys\.modules:/,/^$/d' imperial_valley_2015.py
sed -i '' 's/^[[:blank:]]*!.*$//' imperial_valley_2015.py
ulimit -n 10000 python3 imperial_valley_2015.py
- name: Archive test results
uses: actions/upload-artifact@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
export XVFB_PID=$!
# remove Google Colab specific commands
sed -i '/if \x27google\.colab\x27 in sys\.modules:/,/^$/d' imperial_valley_2015.py
sed -i 's/^[[:blank:]]*!.*$//' imperial_valley_2015.py
python3 imperial_valley_2015.py
- name: Archive test results
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 1255082

Please sign in to comment.