Skip to content

feat(doc): Update README #1689

feat(doc): Update README

feat(doc): Update README #1689

#
# Copyright [2021-present] [ahoo wang <ahoowang@qq.com> (https://github.com/Ahoo-Wang)].
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
name: Integration Test
on: [ push, pull_request ]
jobs:
cosec-core-test:
name: CoSec Core Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
server-id: github
settings-path: ${{ github.workspace }}
- name: Test CoSec-Core
run: ./gradlew cosec-core:clean cosec-core:check
cosec-opentelemetry-test:
name: CoSec OpenTelemetry Test
needs: [ cosec-core-test ]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
server-id: github
settings-path: ${{ github.workspace }}
- name: Test CoSec-OpenTelemetry
run: ./gradlew cosec-opentelemetry:clean cosec-opentelemetry:check
cosec-jwt-test:
name: CoSec Jwt Test
needs: [ cosec-core-test ]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
server-id: github
settings-path: ${{ github.workspace }}
- name: Test CoSec-Jwt
run: ./gradlew cosec-jwt:clean cosec-jwt:check
cosec-social-test:
name: CoSec Social Test
needs: [ cosec-core-test ]
runs-on: ubuntu-latest
services:
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
server-id: github
settings-path: ${{ github.workspace }}
- name: Test CoSec-Social
run: ./gradlew cosec-social:clean cosec-social:check
cosec-redis-test:
name: CoSec Redis Test
needs: [ cosec-core-test ]
runs-on: ubuntu-latest
services:
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
server-id: github
settings-path: ${{ github.workspace }}
- name: Test CoSec-Redis
run: ./gradlew cosec-redis:clean cosec-redis:check
cosec-webflux-test:
name: CoSec WebFlux Test
needs: [ cosec-core-test ]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
server-id: github
settings-path: ${{ github.workspace }}
- name: Test CoSec-WebFlux
run: ./gradlew cosec-webflux:clean cosec-webflux:check
cosec-webmvc-test:
name: CoSec WebMvc Test
needs: [ cosec-core-test ]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
server-id: github
settings-path: ${{ github.workspace }}
- name: Test CoSec-WebMvc
run: ./gradlew cosec-webmvc:clean cosec-webmvc:check
cosec-spring-boot-starter-test:
name: CoSec Spring Boot Starter Test
needs: [ cosec-core-test ]
runs-on: ubuntu-latest
services:
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
server-id: github
settings-path: ${{ github.workspace }}
- name: Test CoSec-Spring-Boot-Starter
run: ./gradlew cosec-spring-boot-starter:clean cosec-spring-boot-starter:check