Skip to content

Commit c060d76

Browse files
authored
Update java before running tests (#57)
1 parent 8e52d9b commit c060d76

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.circleci/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
- image: rishabhpoddar/supertokens_website_sdk_testing
2121
steps:
2222
- checkout
23+
- run: update-alternatives --install "/usr/bin/java" "java" "/usr/java/jdk-15.0.1/bin/java" 2
24+
- run: update-alternatives --install "/usr/bin/javac" "javac" "/usr/java/jdk-15.0.1/bin/javac" 2
2325
- run: echo "127.0.0.1 localhost.org" >> /etc/hosts
2426
- run: npm i -d
2527
- run: (cd .circleci/ && ./doTests.sh)

0 commit comments

Comments
 (0)