Skip to content

Commit

Permalink
update scripts for github folder
Browse files Browse the repository at this point in the history
(cherry picked from commit ec4e8b2)
  • Loading branch information
wahln committed Mar 23, 2023
1 parent 4b9a2fa commit d4acb02
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/before_install_linux.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

sudo chmod +x .travis/runtests.sh
sudo chmod +x .github/runtests.sh
sudo chmod +x MCsquare/bin/MCsquare_linux

mv optimization/optimizer/ipopt.m optimization/optimizer/ipopt.m.bak
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
run: sudo apt-get install -y gdb gfortran fonts-freefont-otf gnuplot-x11 libgdcm-dev octave liboctave-dev
- name: Prepare Test Environment
run: |
sudo chmod +x .travis/before_install_linux.sh
sudo .travis/before_install_linux.sh
sudo chmod +x .github/before_install_linux.sh
sudo .github/before_install_linux.sh
- name: Run Tests
uses: GabrielBB/xvfb-action@v1 #For Headless tests
with:
run: .travis/runtests.sh octave-cli
- name: Upload Logs if failure
run: .github/runtests.sh octave-cli
- name: Upload logs if test fails
uses: actions/upload-artifact@v3
if: failure()
with:
Expand Down

0 comments on commit d4acb02

Please sign in to comment.