diff --git a/.github/scripts/test-datajure-repl b/.github/scripts/test-datajure-repl new file mode 100755 index 0000000..a0599e9 --- /dev/null +++ b/.github/scripts/test-datajure-repl @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +wget https://github.com/clojure-finance/datajure/blob/main/scripts/datajure +chmod +x datajure +exit | ./datajure \ No newline at end of file diff --git a/.github/scripts/test-lein-template b/.github/scripts/test-lein-template new file mode 100755 index 0000000..8620b14 --- /dev/null +++ b/.github/scripts/test-lein-template @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +set -euo pipefail + +cd lein-template +lein new com.github.clojure-finance/datajure myproject +cd myproject +exit | lein run \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9a47eeb..3fadbfc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,4 +29,10 @@ jobs: run: lein install - name: Run tests - run: lein test \ No newline at end of file + run: lein test + + - name: Test Leiningen template + run: chmod +x ./.github/scripts/test-lein-template && ./.github/scripts/test-lein-template + + - name: Test Datajure REPL + run: chmod +x ./.github/scripts/test-datajure-repl && ./.github/scripts/test-datajure-repl \ No newline at end of file