diff --git a/.github/DockerfileBackendTests b/.github/DockerfileBackendTests index aa744196db..00082bf42f 100644 --- a/.github/DockerfileBackendTests +++ b/.github/DockerfileBackendTests @@ -37,9 +37,10 @@ RUN apt-get update \ make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev \ libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libxml2-dev \ libxmlsec1-dev libffi-dev liblzma-dev mecab-ipadic-utf8 libgdbm-dev libc6-dev git libprotobuf-dev=3.6.* libnl-route-3-dev=3.4.* \ - libv8-dev tesseract-ocr nodejs npm\ + libv8-dev tesseract-ocr nodejs npm clang libclang-dev\ && rm -rf /var/lib/apt/lists/* + RUN wget https://golang.org/dl/go1.19.1.linux-amd64.tar.gz && tar -C /usr/local -xzf go1.19.1.linux-amd64.tar.gz ENV PATH="${PATH}:/usr/local/go/bin" ENV GO_PATH=/usr/local/go/bin/go diff --git a/.github/workflows/backend-test.yml b/.github/workflows/backend-test.yml index 8ab114e87f..7b4c09b46c 100644 --- a/.github/workflows/backend-test.yml +++ b/.github/workflows/backend-test.yml @@ -42,4 +42,4 @@ jobs: mkdir frontend/build && cd backend && touch windmill-api/openapi-deref.yaml && DATABASE_URL=postgres://postgres:changeme@postgres:5432/windmill cargo - test --all --features enterprise -- --nocapture + --features enterprise test --all -- --nocapture diff --git a/backend/tests/worker.rs b/backend/tests/worker.rs index 3f96f93aca..29cb0f1777 100644 --- a/backend/tests/worker.rs +++ b/backend/tests/worker.rs @@ -2602,6 +2602,7 @@ async fn test_rust_client(db: Pool) { .unwrap(); } + #[sqlx::test(fixtures("base"))] async fn test_script_schedule_handlers(db: Pool) { initialize_tracing().await; diff --git a/frontend/src/lib/components/apps/components/display/AppCarouselList.svelte b/frontend/src/lib/components/apps/components/display/AppCarouselList.svelte index 3339373282..da2b18945a 100644 --- a/frontend/src/lib/components/apps/components/display/AppCarouselList.svelte +++ b/frontend/src/lib/components/apps/components/display/AppCarouselList.svelte @@ -55,6 +55,7 @@ parentComponentId: id, subGridIndex: 0 }) + let currentPageIndex = 0 {#each Object.keys(components['carousellistcomponent'].initialData.configuration) as key (key)} @@ -91,8 +92,8 @@ arrows={true} swiping={false} bind:this={carousel} - let:currentPageIndex on:pageChange={(event) => { + currentPageIndex = event.detail $focusedGrid = { parentComponentId: id, subGridIndex: event.detail