Skip to content

Commit

Permalink
matrix async migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
fuziontech committed Jan 3, 2024
1 parent 5d2352b commit c860a69
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,13 @@ jobs:
retention-days: 5

async-migrations:
name: Async migrations tests
name: Async migrations tests - ${{ matrix.clickhouse-server-image }}
needs: changes
strategy:
fail-fast: false
matrix:
clickhouse-server-image:
['clickhouse/clickhouse-server:23.6.1.1524', 'clickhouse/clickhouse-server:23.11.2.11-alpine']
if: needs.changes.outputs.backend == 'true'
runs-on: ubuntu-latest
steps:
Expand All @@ -321,7 +326,7 @@ jobs:

- name: Start stack with Docker Compose
run: |
export CLICKHOUSE_SERVER_IMAGE_VERSION=${{ inputs.clickhouse-server-image-version }}
export CLICKHOUSE_SERVER_IMAGE_VERSION=${{ matrix.clickhouse-server-image }}
docker compose -f docker-compose.dev.yml down
docker compose -f docker-compose.dev.yml up -d
Expand Down

0 comments on commit c860a69

Please sign in to comment.