Skip to content

Commit

Permalink
Fix CI scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyPechnikov committed Feb 9, 2024
1 parent ac4433c commit 9275640
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,24 +42,14 @@ 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
pip3 install -e ./pygmtsar/
- 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 \
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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=$!
Expand Down

0 comments on commit 9275640

Please sign in to comment.