From 9275640793862d5910f0c79653b967a10ef85d30 Mon Sep 17 00:00:00 2001 From: Alexey Pechnikov Date: Fri, 9 Feb 2024 17:12:54 +0700 Subject: [PATCH] Fix CI scripts --- .github/workflows/macos.yml | 12 +----------- .github/workflows/ubuntu.yml | 6 +----- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index b3494718..ba673a4c 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -42,16 +42,6 @@ jobs: ./configure --with-orbits-dir=/tmp make make install - export PATH=$PATH:${{ github.workspace }}/GMTSAR/bin - # check installation - echo "Show compilation directory" - pwd - echo "Set PATH" - echo "$PATH" - echo "Run gmtsar_sharedir.csh" - gmtsar_sharedir.csh - echo "Run make_s1a_tops" - make_s1a_tops || true - name: Install PyGMTSAR run: | pip3 install pyvista panel @@ -59,7 +49,7 @@ jobs: - name: Run test working-directory: tests run: | - export PATH=$PATH:/Users/runner/work/gmtsar/gmtsar/GMTSAR/bin + export PATH=$PATH:${{ github.workspace }}/GMTSAR/bin ulimit -n 10000 # remove Google Colab specific commands and add __main__ section cat pico_do_fogo_volcano_eruption_2014.py \ diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 2073acd1..f8477702 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -55,10 +55,6 @@ jobs: ./configure --with-orbits-dir=/tmp CFLAGS='-z muldefs' LDFLAGS='-z muldefs' make CFLAGS='-z muldefs' LDFLAGS='-z muldefs' make install - # check installation - export PATH=$PATH:${{ github.workspace }}/GMTSAR/bin - echo "Start gmtsar_sharedir.csh" - gmtsar_sharedir.csh - name: Install PyGMTSAR run: | # vtk rendering @@ -67,7 +63,7 @@ jobs: - name: Run test working-directory: tests run: | - export PATH=$PATH:/home/runner/work/gmtsar/gmtsar/GMTSAR/bin + export PATH=$PATH:${{ github.workspace }}/GMTSAR/bin Xvfb :99 -screen 0 800x600x24 > /dev/null 2>&1 & export DISPLAY=:99 export XVFB_PID=$!