Skip to content

Commit

Permalink
Add tests for REPL and Leiningen template
Browse files Browse the repository at this point in the history
  • Loading branch information
skylee03 committed Jan 27, 2024
1 parent 114a74d commit 1987482
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/scripts/test-datajure-repl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash

wget https://github.com/clojure-finance/datajure/blob/main/scripts/datajure
chmod +x datajure
exit | ./datajure
8 changes: 8 additions & 0 deletions .github/scripts/test-lein-template
Original file line number Diff line number Diff line change
@@ -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
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,10 @@ jobs:
run: lein install

- name: Run tests
run: lein test
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

0 comments on commit 1987482

Please sign in to comment.