Skip to content

Commit

Permalink
Update CI scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Pechnikov committed Jan 21, 2024
1 parent 986c82f commit 273ac33
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-13]
python-version: ["3.11", "3.10"]
os: [macos-13, macos-12]
python-version: ["3.12", "3.11"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -56,6 +56,8 @@ jobs:
working-directory: tests
run: |
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
ulimit -n 10000 python3 imperial_valley_2015.py
- name: Archive test results
uses: actions/upload-artifact@v3
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ jobs:
Xvfb :99 -screen 0 800x600x24 > /dev/null 2>&1 &
export DISPLAY=:99
export XVFB_PID=$!
# remove Google Colab specific commands
sed -i '/if \x27google\.colab\x27 in sys\.modules:/,/^$/d' imperial_valley_2015.py
python3 imperial_valley_2015.py
- name: Archive test results
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 273ac33

Please sign in to comment.