Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@ jobs:
build:

runs-on: ubuntu-latest
env:
CA: ${{ secrets.CA }}
strategy:
matrix:
# test against latest update of each major Java version, as well as specific updates of LTS versions:
java: [8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18]
java: [8, 9, 11, 12, 13, 14, 15, 16, 17, 18]

steps:
- uses: actions/checkout@v2
Expand All @@ -29,6 +27,8 @@ jobs:
with:
java-version: ${{ matrix.java }}
- name: Build with Maven
run: CA="$CA" || mvn test
run: mvn test
env:
CA: ${{ secrets.CA }}
- name: CodeCov
run: bash <(curl -s https://codecov.io/bash) -cF java
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ public void certificateTest() throws IOException {
OkHttpClient client = builder.buildOkHttpClient();
Assert.assertTrue(client.hostnameVerifier() instanceof TrueHostnameVerifier);
Assert.assertNotNull(client.sslSocketFactory());
SSLSocketFactoryImpl ssl = (SSLSocketFactoryImpl)client.sslSocketFactory();
ssl.createSocket();
}

@Test
Expand Down