Skip to content

Commit

Permalink
fix: don't trigger uikit deploy needlessly (#574)
Browse files Browse the repository at this point in the history
* fix: don't trigger uikit deploy needlessly

* chore: disable broken tests

* chore: disabled dependent target
  • Loading branch information
dtscalac authored Jun 26, 2024
1 parent cf8d60b commit 23d3480
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
with:
earthfile: ./catalyst_voices/uikit_example
flags: --allow-privileged
targets: build-web
targets: local-build-web
target_flags:
runner_address: ${{ secrets.EARTHLY_SATELLITE_ADDRESS }}
artifact: "false"
Expand Down
8 changes: 5 additions & 3 deletions catalyst_voices/test_driver/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ VERSION 0.8

IMPORT ../ AS catalyst-voices

integration-test-web:
# TODO(kukko3) - fix and enable
disabled-integration-test-web:
FROM catalyst-voices+build-web
ARG TARGETARCH
ARG browser
Expand Down Expand Up @@ -37,7 +38,8 @@ integration-test-web:
exit 1
END

test-web-all:
BUILD +integration-test-web \
# TODO(kukko3) - fix and enable
disabled-test-web-all:
BUILD +disabled-integration-test-web \
--browser=chrome \
--browser=firefox
6 changes: 4 additions & 2 deletions catalyst_voices/uikit_example/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ VERSION 0.8
IMPORT ../ AS catalyst-voices
IMPORT github.com/input-output-hk/catalyst-ci/earthly/flutter:v3.1.10 AS flutter-ci

# build-web - Build web version of UIKit example
build-web:
# local-build-web - build web version of UIKit example.
# Prefixed by "local" to make sure it's not auto triggered, the target was
# designed to work with a specific github action that needs the target output files
local-build-web:
FROM catalyst-voices+builder
ARG WORKDIR=/frontend/catalyst_voices/uikit_example
DO flutter-ci+BUILD_WEB --TARGET=lib/main.dart --WORKDIR=$WORKDIR
Expand Down

0 comments on commit 23d3480

Please sign in to comment.