Skip to content

Make absoluetly sure the FATSTAT unit test gives mformat a zeroed-out… #8

Make absoluetly sure the FATSTAT unit test gives mformat a zeroed-out…

Make absoluetly sure the FATSTAT unit test gives mformat a zeroed-out… #8

Workflow file for this run

on: push
jobs:
Scripts:
name: "Unit Test Scripts"
runs-on: ubuntu-latest
steps:
- name: Install Unit test dependencies
run: |
sudo apt-get update
sudo apt-get install -y lua5.4 mtools
- uses: actions/checkout@v4
- name: Run script unit tests
run: |
set -e
WD=$(pwd)
TEST=$(find test -name test.sh -executable -print)
for file in $TEST; do
echo
echo "### Running $file ###"
echo
cd $(dirname $file)
if ! ./$(basename "$file"); then
echo "Error: Script $file failed!"
cd "$WD"
exit 1
fi
cd $WD
done