Skip to content

Commit

Permalink
Add test execution step to CI workflow and remove redundant build com…
Browse files Browse the repository at this point in the history
…mand
  • Loading branch information
timwu-ipevo committed Dec 2, 2024
1 parent 2451fda commit 3b6d273
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@ jobs:
- name: Setup Earthly
uses: earthly/actions-setup@v1

- name: Run tests
run: earthly +test

- name: Build and save Docker image
run: earthly +build
1 change: 0 additions & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ test:
RUN python -m pytest -v

build:
BUILD +test
FROM +deps
# Remove dev dependencies if needed
EXPOSE 8000
Expand Down

0 comments on commit 3b6d273

Please sign in to comment.