Skip to content

Commit

Permalink
(testsuite) added automated run of test programs to github actions wo…
Browse files Browse the repository at this point in the history
…rkflow
  • Loading branch information
danieljprice committed Dec 2, 2024
1 parent c334fae commit 2ce4065
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,21 @@ jobs:

- name: compile and install giza
run: |
./configure
make
sudo make install
./configure
make
sudo make install
# Set up Xvfb for graphical tests
- name: Set up and start Xvfb
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y xvfb
Xvfb :99 -screen 0 1920x1080x24 &
export DISPLAY=:99
# Run tests
- name: Run test programs, pressing enter to all prompts
if: matrix.os == 'ubuntu-latest'
run: |
yes "" | make check

0 comments on commit 2ce4065

Please sign in to comment.