Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Commit

Permalink
style: changing target to unit-test
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperC286 committed Sep 16, 2023
1 parent de628da commit 4ebd776
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,13 @@ jobs:
uses: actions/checkout@v3
- name: Compile Linux AMD64.
run: earthly --ci +compile-linux-amd64
unit-testing:
unit-test:
name: Unit Test
runs-on: ubuntu-latest
steps:
- name: Download Earthly v0.7.17.
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.7.17/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
- name: Checkout code.
uses: actions/checkout@v3
- name: Check unit testing.
run: earthly --ci +unit-testing
- name: Unit test.
run: earthly --ci +unit-test
4 changes: 2 additions & 2 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,11 @@ compile-darwin-amd64:
DO +SAVE_OUTPUT


unit-testing:
unit-test:
FROM +golang-base
DO +INSTALL_DEPENDENCIES
DO +COPY_SOURCECODE
RUN ./ci/unit-testing.sh
RUN ./ci/unit-test.sh


releasing:
Expand Down
File renamed without changes.

0 comments on commit 4ebd776

Please sign in to comment.