mirror of
https://github.com/penpot/penpot.git
synced 2025-01-22 14:39:45 -05:00
📎 Add minor adjustments on CI config
This commit is contained in:
parent
a341a956b8
commit
d1265a5ea4
1 changed files with 3 additions and 13 deletions
|
@ -11,11 +11,11 @@ jobs:
|
||||||
- image: cimg/redis:7.0.5
|
- image: cimg/redis:7.0.5
|
||||||
|
|
||||||
working_directory: ~/repo
|
working_directory: ~/repo
|
||||||
resource_class: large
|
resource_class: medium+
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
# Customize the JVM maximum heap limit
|
JAVA_OPTS: -Xmx4g -Xms100m -XX:+UseSerialGC
|
||||||
JVM_OPTS: -Xmx4g
|
NODE_OPTIONS: --max-old-space-size=4096
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
@ -72,11 +72,6 @@ jobs:
|
||||||
yarn test
|
yarn test
|
||||||
clojure -X:dev:test :patterns '["common-tests.*-test"]'
|
clojure -X:dev:test :patterns '["common-tests.*-test"]'
|
||||||
|
|
||||||
environment:
|
|
||||||
PATH: /usr/local/nodejs/bin/:/usr/local/bin:/bin:/usr/bin
|
|
||||||
JVM_OPTS: -Xmx4g
|
|
||||||
NODE_OPTIONS: --max-old-space-size=4096
|
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: "frontend tests"
|
name: "frontend tests"
|
||||||
working_directory: "./frontend"
|
working_directory: "./frontend"
|
||||||
|
@ -84,10 +79,6 @@ jobs:
|
||||||
yarn install
|
yarn install
|
||||||
yarn test
|
yarn test
|
||||||
|
|
||||||
environment:
|
|
||||||
PATH: /usr/local/nodejs/bin/:/usr/local/bin:/bin:/usr/bin
|
|
||||||
NODE_OPTIONS: --max-old-space-size=4096
|
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: "backend tests"
|
name: "backend tests"
|
||||||
working_directory: "./backend"
|
working_directory: "./backend"
|
||||||
|
@ -99,7 +90,6 @@ jobs:
|
||||||
PENPOT_TEST_DATABASE_USERNAME: penpot_test
|
PENPOT_TEST_DATABASE_USERNAME: penpot_test
|
||||||
PENPOT_TEST_DATABASE_PASSWORD: penpot_test
|
PENPOT_TEST_DATABASE_PASSWORD: penpot_test
|
||||||
PENPOT_TEST_REDIS_URI: "redis://localhost/1"
|
PENPOT_TEST_REDIS_URI: "redis://localhost/1"
|
||||||
JVM_OPTS: -Xmx4g
|
|
||||||
|
|
||||||
- save_cache:
|
- save_cache:
|
||||||
paths:
|
paths:
|
||||||
|
|
Loading…
Add table
Reference in a new issue