From 4478a3dadeeb39467840aa0022b1f81b86351b5a Mon Sep 17 00:00:00 2001 From: jianbin Date: Wed, 18 Sep 2024 15:39:38 +0800 Subject: [PATCH] optimize: add redis and nacos image --- .github/workflows/test-druid.yml | 5 +---- .github/workflows/test.yml | 9 +++------ 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test-druid.yml b/.github/workflows/test-druid.yml index 9111a2d618a..75763a58474 100644 --- a/.github/workflows/test-druid.yml +++ b/.github/workflows/test-druid.yml @@ -5,8 +5,7 @@ on: branches: [ test*, "*.*.*" ] jobs: - build: - name: "build" + test-druid: services: redis: image: redis:7.2 @@ -21,8 +20,6 @@ jobs: MODE: standalone SPRING_SECURITY_ENABLED: false options: --health-cmd="curl -f http://localhost:8848/nacos" --health-interval=10s --health-timeout=5s --health-retries=3 --health-start-period=30s - runs-on: ubuntu-latest - test-druid: name: "test-druid" runs-on: ubuntu-latest strategy: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 213260c83eb..bf984d9c355 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,8 +4,9 @@ on: push: branches: [ test*, "*.*.*" ] jobs: - build: - name: "build" + # job 1 + test: + name: "test" services: redis: image: redis:7.2 @@ -20,10 +21,6 @@ jobs: MODE: standalone SPRING_SECURITY_ENABLED: false options: --health-cmd="curl -f http://localhost:8848/nacos" --health-interval=10s --health-timeout=5s --health-retries=3 --health-start-period=30s - runs-on: ubuntu-latest - # job 1 - test: - name: "test" runs-on: "${{ matrix.os }}-latest" strategy: fail-fast: false