File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 10
10
REGISTRY : ghcr.io
11
11
IMAGE_NAME : utbot_java_cli
12
12
DOCKERFILE_PATH : docker/Dockerfile_java_cli
13
+ GRADLE_OPTS : " -XX:MaxHeapSize=2048m -Dorg.gradle.jvmargs='-XX:MaxHeapSize=2048m -XX:MaxPermSize=512m -javaagent:/tmp/jmx-exporter.jar=12345:/tmp/jmx-exporter.yml -Dorg.gradle.daemon=false' -Dorg.gradle.daemon=false"
13
14
14
15
jobs :
15
16
prepare-tests-matrix :
41
42
chmod +x ./scripts/monitoring.sh
42
43
./scripts/monitoring.sh ${{ secrets.PUSHGATEWAY_HOSTNAME }} ${{ secrets.PUSHGATEWAY_USER }} ${{ secrets.PUSHGATEWAY_PASSWORD }}
43
44
- name : Run tests
44
- run : |
45
- export GRADLE_OPTS="-XX:MaxHeapSize=2048m -Dorg.gradle.jvmargs='-XX:MaxHeapSize=2048m -XX:MaxPermSize=512m -javaagent:/tmp/jmx-exporter.jar=12345:/tmp/jmx-exporter.yml -Dorg.gradle.daemon=false' -Dorg.gradle.daemon=false"
45
+ run : |
46
46
gradle --no-daemon :utbot-framework:test ${{ matrix.project.TESTS_TO_RUN }}
47
47
48
48
- name : Upload logs
89
89
./scripts/monitoring.sh ${{ secrets.PUSHGATEWAY_HOSTNAME }} ${{ secrets.PUSHGATEWAY_USER }} ${{ secrets.PUSHGATEWAY_PASSWORD }}
90
90
- name : Run tests
91
91
run : |
92
- export GRADLE_OPTS="-XX:MaxHeapSize=1048m -Dorg.gradle.jvmargs='-XX:MaxHeapSize=1048m -XX:MaxPermSize=256m -javaagent:/tmp/jmx-exporter.jar=12345:/tmp/jmx-exporter.yml -Dorg.gradle.daemon=false' -Dorg.gradle.daemon=false"
93
92
cd ${{ matrix.project }}
94
93
gradle build --no-daemon
95
94
- name : Upload test report if tests have failed
@@ -137,13 +136,15 @@ jobs:
137
136
key : ${{ runner.os }}-buildx-${{ github.sha }}
138
137
restore-keys : |
139
138
${{ runner.os }}-buildx-
139
+
140
140
- name : Docker meta
141
141
id : meta
142
142
uses : docker/metadata-action@v3
143
143
with :
144
144
images : ${{ env.REGISTRY }}/${{ github.repository }}/${{ env.IMAGE_NAME }}
145
145
tags : |
146
146
type=raw,value=${{ env.DOCKER_TAG }}
147
+
147
148
- name : Docker Buildx (build and push)
148
149
run : |
149
150
docker buildx build \
You can’t perform that action at this time.
0 commit comments