Skip to content

Commit

Permalink
handle no tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wdbaruni committed Sep 11, 2024
1 parent ace5904 commit a664119
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webui/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ install-deps:

copy-code:
FROM +install-deps
COPY --dir app components hooks lib public test ./
COPY --dir app components hooks lib public ./
COPY next.config.mjs postcss.config.mjs tailwind.config.ts tsconfig.json ./
COPY .eslintrc.json .prettierrc ./

Expand All @@ -34,6 +34,7 @@ build-artifacts:
# TODO: let all build from run-tests when we have tests
run-tests:
FROM +build-artifacts
COPY --dir test ./
RUN yarn test

all:
Expand Down

0 comments on commit a664119

Please sign in to comment.