From 6177c184a2393038cbb54984be00d3dc94fa9a8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= Date: Wed, 28 Feb 2024 23:07:05 +0000 Subject: [PATCH] can I replace this with their github action? --- .github/workflows/flow.yml | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/.github/workflows/flow.yml b/.github/workflows/flow.yml index 306b912a68..1641abdb4e 100644 --- a/.github/workflows/flow.yml +++ b/.github/workflows/flow.yml @@ -23,27 +23,6 @@ jobs: POSTGRES_PASSWORD: postgres POSTGRES_DB: postgres - temporal: - env: - DB: postgresql - DB_PORT: 5432 - POSTGRES_USER: postgres - POSTGRES_PWD: postgres - POSTGRES_SEEDS: catalog - DYNAMIC_CONFIG_FILE_PATH: /etc/temporal-dynamicconfig/development-sql.yaml - image: temporalio/auto-setup:1.22 - ports: - - 7233:7233 - volumes: - - ./temporal-dynamicconfig:/etc/temporal-dynamicconfig - - temporal-admin-tools: - env: - TEMPORAL_ADDRESS: temporal:7233 - TEMPORAL_CLI_ADDRESS: temporal:7233 - TEMPORAL_CLI_SHOW_STACKS: 1 - image: temporalio/admin-tools:1.22 - steps: - name: checkout sources uses: actions/checkout@v4 @@ -109,6 +88,12 @@ jobs: env: PGPASSWORD: postgres + - name: Install Temporal CLI + uses: temporalio/setup-temporal@v0 + + - name: Start a local Temporal server + run: temporal server start-dev --headless & + - name: run tests run: gotestsum --format testname -- -p 60 ./... -timeout 1200s working-directory: ./flow