mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 14:38:27 +02:00
🎉 Add script to un CI tests in dev env
This commit is contained in:
parent
78819c68c9
commit
d453b584ee
1 changed files with 50 additions and 0 deletions
50
run-ci.sh
Executable file
50
run-ci.sh
Executable file
|
@ -0,0 +1,50 @@
|
||||||
|
#!/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 ..
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue