This commit is contained in:
@@ -22,6 +22,16 @@ jobs:
|
|||||||
java-version: '17'
|
java-version: '17'
|
||||||
cache: 'gradle'
|
cache: 'gradle'
|
||||||
|
|
||||||
|
- name: Cache Gradle dependencies
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.gradle/caches
|
||||||
|
~/.gradle/wrapper
|
||||||
|
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||||
|
restore-keys: |
|
||||||
|
gradle-${{ runner.os }}-
|
||||||
|
|
||||||
- name: Grant execute permission for gradlew
|
- name: Grant execute permission for gradlew
|
||||||
run: |
|
run: |
|
||||||
find . -name gradlew -type f -exec chmod +x {} \;
|
find . -name gradlew -type f -exec chmod +x {} \;
|
||||||
@@ -45,8 +55,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "Building CameraApp"
|
echo "Building CameraApp"
|
||||||
echo "Current directory: $(pwd)"
|
echo "Current directory: $(pwd)"
|
||||||
# Run Gradle build
|
./gradlew build --retry 3
|
||||||
./gradlew build
|
|
||||||
|
|
||||||
- name: Upload CameraApp artifact
|
- name: Upload CameraApp artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|||||||
16
src/test/java/org/jdetect/CameraInfoTest.java
Normal file
16
src/test/java/org/jdetect/CameraInfoTest.java
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
package org.jdetect;
|
||||||
|
|
||||||
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
|
import static org.junit.jupiter.api.Assertions.*;
|
||||||
|
|
||||||
|
class CameraInfoTest {
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void testToString() {
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void index() {
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user