Skip to content

Commit 7290329

Browse files
committed
add runtime tests
1 parent d1aa9cc commit 7290329

1 file changed

Lines changed: 35 additions & 1 deletion

File tree

.github/workflows/test.yaml

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Tests
22
on: [push]
33

44
jobs:
5-
# runtime tests
5+
# Runtime Tests
66
runtime-test:
77
name: Runtime Tests
88
runs-on: ubuntu-latest
@@ -51,3 +51,37 @@ jobs:
5151

5252
- name: Run tests
5353
run: WebKit/WebKitBuild/Release/bin/jsc builds/out-adv/core-advanced-test.js
54+
55+
# Compiler Tests
56+
compiler-test:
57+
name: Compiler Tests
58+
runs-on: ubuntu-latest
59+
steps:
60+
- uses: actions/checkout@v2
61+
62+
- uses: DeLaGuardo/setup-clojure@2.0
63+
with:
64+
tools-deps: '1.10.1.536'
65+
66+
- name: Cache maven
67+
uses: actions/cache@v2
68+
env:
69+
cache-name: cache-maven
70+
with:
71+
path: ~/.m2
72+
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/deps.edn') }}
73+
restore-keys: |
74+
${{ runner.os }}-${{ env.cache-name }}-
75+
76+
- name: Cache gitlibs
77+
uses: actions/cache@v2
78+
env:
79+
cache-name: cache-gitlibs
80+
with:
81+
path: ~/.gitlibs
82+
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/deps.edn') }}
83+
restore-keys: |
84+
${{ runner.os }}-${{ env.cache-name }}-
85+
86+
- name: Run tests
87+
run: clj -A:compiler.test:compiler.test.run

0 commit comments

Comments
 (0)