Skip to content

Commit 12b5650

Browse files
authored
Run clojure test suite in CI (#117)
* Add clojure-test-suite Signed-off-by: James Hamlin <jfhamlin@gmail.com> * Run clojure-test-suite in CI Signed-off-by: James Hamlin <jfhamlin@gmail.com> * Clone submodules in CI Signed-off-by: James Hamlin <jfhamlin@gmail.com> --------- Signed-off-by: James Hamlin <jfhamlin@gmail.com>
1 parent f9403dc commit 12b5650

4 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v3
17+
with:
18+
submodules: recursive
1719
- uses: cachix/install-nix-action@v19
1820
with:
1921
nix_path: nixpkgs=channel:nixos-unstable

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "test/clojure-test-suite"]
2+
path = test/clojure-test-suite
3+
url = git@github.com:glojurelang/clojure-test-suite.git

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ $(TEST_TARGETS): gocmd $(GLJ)
9595

9696
.PHONY: test
9797
test: $(TEST_TARGETS) # vet - vet is disabled until we fix errors in generated code
98+
@cd test/clojure-test-suite && \
99+
../../$(GLJ) test-glojure.glj --expect-failures 38 --expect-errors 151 2>/dev/null
98100

99101
.PHONY: format
100102
format:

test/clojure-test-suite

Submodule clojure-test-suite added at 8d3ea9b

0 commit comments

Comments
 (0)