diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml deleted file mode 100644 index 8497d49..0000000 --- a/.github/workflows/codecov.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: codecov check - -on: - workflow_dispatch: - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: Set up JDK 8 - uses: actions/setup-java@v2 - with: - java-version: '8' - distribution: 'temurin' - cache: maven - - run: sed -i "s/SONIC_REMOTE_TEST_URL/${{ secrets.REMOTE_TEST_URL }}/g" src/test/java/org/cloud/sonic/core/ios/IOSDriverTest.java - - name: Validate and Compile with Maven - run: mvn test diff --git a/README.md b/README.md index 04b2849..b016af5 100644 --- a/README.md +++ b/README.md @@ -58,14 +58,14 @@ sonic-driver-core can be separated from appium and interact directly with webdri io.github.soniccloudorg sonic-driver-core - 1.0.11 + 1.0.12 ``` #### Gradle ``` -implementation 'io.github.soniccloudorg:sonic-driver-core:1.0.11' +implementation 'io.github.soniccloudorg:sonic-driver-core:1.0.12' ``` ### Code diff --git a/README_CN.md b/README_CN.md index b599533..09cc065 100644 --- a/README_CN.md +++ b/README_CN.md @@ -53,12 +53,12 @@ sonic-driver-core可以脱离Appium,直接与WebDriverAgent或UIautomator2交 io.github.soniccloudorg sonic-driver-core - 1.0.11 + 1.0.12 ``` #### Gradle ``` -implementation 'io.github.soniccloudorg:sonic-driver-core:1.0.11' +implementation 'io.github.soniccloudorg:sonic-driver-core:1.0.12' ``` ### 代码 diff --git a/src/test/java/org/cloud/sonic/core/ios/IOSDriverTest.java b/src/test/java/org/cloud/sonic/core/ios/IOSDriverTest.java index e8bb131..afa9789 100644 --- a/src/test/java/org/cloud/sonic/core/ios/IOSDriverTest.java +++ b/src/test/java/org/cloud/sonic/core/ios/IOSDriverTest.java @@ -34,7 +34,6 @@ @RunWith(Parameterized.class) public class IOSDriverTest { static IOSDriver iosDriver; - static final String SONIC_REMOTE_URL = "https://SONIC_REMOTE_TEST_URL"; static String url = "http://localhost:8100"; @Parameterized.Parameters @@ -49,9 +48,6 @@ public void before() throws InterruptedException { @BeforeClass public static void beforeClass() throws SonicRespException { - if (!SONIC_REMOTE_URL.equals("https://SONIC_REMOTE_TEST_URL")) { - url = SONIC_REMOTE_URL; - } Boolean hasThrow = false; try { new IOSDriver(url, null);