From 6e18eff84c8ad268de2a5722042b5c1582ca4cca Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 2 Oct 2024 17:47:29 +0800 Subject: [PATCH] chore: update ci --- .github/workflows/integration_test.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration_test.yml b/.github/workflows/integration_test.yml index 31812a43b..d2b921094 100644 --- a/.github/workflows/integration_test.yml +++ b/.github/workflows/integration_test.yml @@ -42,18 +42,20 @@ jobs: - name: Build Docker Images run: | - docker compose build appflowy_cloud appflowy_history + docker compose build appflowy_cloud appflowy_history appflowy_worker - name: Push docker images to docker hub run: | docker tag appflowyinc/appflowy_cloud appflowyinc/appflowy_cloud:${GITHUB_SHA} docker tag appflowyinc/appflowy_history appflowyinc/appflowy_history:${GITHUB_SHA} + docker tag appflowyinc/appflowy_worker appflowyinc/appflowy_worker:${GITHUB_SHA} echo ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | docker login --username appflowyinc --password-stdin docker push appflowyinc/appflowy_cloud:${GITHUB_SHA} docker push appflowyinc/appflowy_history:${GITHUB_SHA} + docker push appflowyinc/appflowy_worker:${GITHUB_SHA} APPFLOWY_HISTORY_VERSION=${GITHUB_SHA} APPFLOWY_WORKER_VERSION=${GITHUB_SHA} - APPFLOWY_CLOUD_VERSION=0.1.1 + APPFLOWY_CLOUD_VERSION=${GITHUB_SHA} test: name: Integration Tests @@ -66,6 +68,8 @@ jobs: test_cmd: "--workspace --exclude appflowy-history --exclude appflowy-ai-client --features ai-test-enabled" - test_service: "appflowy_history" test_cmd: "-p appflowy-history" + - test_service: "appflowy_worker" + test_cmd: "-p appflowy-worker" steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@stable