forked from penpot/penpot
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathrun-ci.sh
executable file
·50 lines (42 loc) · 903 Bytes
/
run-ci.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/bin/bash
set -e
echo "################ test common ################"
cd common
yarn install
yarn run fmt:clj:check
yarn run lint:clj
clojure -M:dev:test
yarn run test
cd ..
echo "################ test frontend ################"
cd frontend
yarn install
yarn run fmt:clj:check
yarn run fmt:js:check
yarn run lint:scss
yarn run lint:clj
yarn run test
cd ..
echo "################ test integration ################"
cd frontend
yarn install
yarn run test:e2e -x --workers=4
cd ..
echo "################ test backend ################"
cd backend
yarn install
yarn run fmt:clj:check
yarn run lint:clj
clojure -M:dev:test --reporter kaocha.report/documentation
cd ..
echo "################ test exporter ################"
cd exporter
yarn install
yarn run fmt:clj:check
yarn run lint:clj
cd ..
echo "################ test render-wasm ################"
cd render-wasm
cargo fmt --check
./test
cd ..