diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 3b0619f5..a8f82696 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -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 @@ -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 diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 14903b6c..b529b8a9 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -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