Skip to content

Commit 4c1c865

Browse files
committed
Added config for running larky tests.
1 parent 9360e50 commit 4c1c865

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

.circleci/config.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,16 @@
1+
version: 2.0
12

3+
jobs:
4+
test-larky:
5+
docker:
6+
- image: cimg/openjdk:17.0.1
7+
steps:
8+
- checkout
9+
- run: make test-larky
10+
11+
workflows:
12+
version: 2
13+
14+
test-larky:
15+
jobs:
16+
- test-larky

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
**/node_modules
55
**/results.txt
66
content-by-language/node/package*.json
7+
tmp/*

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.PHONY: test-larky
2+
3+
./tmp/starlarky:
4+
git clone git@github.com:verygoodsecurity/starlarky.git ./tmp/starlarky
5+
6+
test-larky: ./tmp/starlarky
7+
rm -f tmp/starlarky/larky/src/test/resources/quick_tests/**.star
8+
cp $$(find ./integrations/larky/ | grep .star) ./tmp/starlarky/larky/src/test/resources/quick_tests/
9+
cd ./tmp/starlarky; mvnw -Dtest='LarkyQuickTests*' test -pl larky

0 commit comments

Comments
 (0)