Skip to content

Commit

Permalink
add test script
Browse files Browse the repository at this point in the history
  • Loading branch information
ufechner7 committed Jul 5, 2024
1 parent 80ee6d4 commit 57f0f19
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/test_main_branch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash -eu

cd ~/repos
rm -rf julia_tmp
mkdir julia_tmp
export JULIA_DEPOT_PATH="~/julia_tmp"
rm -rf viewer_test
mkdir viewer_test
cd viewer_test
echo "Installing KiteViewers..."
julia --project="." -e "using Pkg; Pkg.update(); pkg\"add KiteViewers#main\"; Pkg.instantiate()"
echo "Running the tests..."
julia --project -e "using Pkg; Pkg.test(\"KiteViewers\")"
echo "Done."

0 comments on commit 57f0f19

Please sign in to comment.