Skip to content

Commit

Permalink
Add tests for REPL and Leiningen template (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
skylee03 committed Jan 27, 2024
1 parent 114a74d commit fc78bb7
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
@@ -0,0 +1,5 @@
#!/usr/bin/env bash

wget https://raw.githubusercontent.com/clojure-finance/datajure/main/scripts/datajure
chmod +x datajure
exit | ./datajure
8 changes: 8 additions & 0 deletions .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
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
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 fc78bb7

Please sign in to comment.