From 91c3303a5a0394006a261a4d2b0d742ae220b0bf Mon Sep 17 00:00:00 2001 From: Runchao Han Date: Fri, 2 Aug 2024 16:31:20 +1000 Subject: [PATCH] clean up --- .github/workflows/ci.yml | 17 ++++++----------- .github/workflows/publish.yml | 17 ++++++----------- 2 files changed, 12 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 11fceef..3e9b923 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ on: - '**' jobs: - lint: + lint_test: runs-on: ubuntu-22.04 steps: - name: Checkout repository @@ -17,19 +17,14 @@ jobs: go-version: '1.21.4' - name: Run Lint run: make lint - - test: - uses: babylonchain/.github/.github/workflows/reusable_go_lint_test.yml@v0.1.0 - with: - run-unit-tests: true - run-integration-tests: true - run-lint: false - integration-tests-command: | - make test-e2e + - name: Run Unit Tests + run: make test + - name: Run Integration Tests + run: make test-e2e docker_pipeline: uses: babylonchain/.github/.github/workflows/reusable_docker_pipeline.yml@v0.1.0 - needs: ["lint", "test"] + needs: ["lint_test"] secrets: inherit with: publish: false diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f9dd06c..ceb0921 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,7 +9,7 @@ on: - '*' jobs: - lint: + lint_test: runs-on: ubuntu-22.04 steps: - name: Checkout repository @@ -20,19 +20,14 @@ jobs: go-version: '1.21.4' - name: Run Lint run: make lint + - name: Run Unit Tests + run: make test + - name: Run Integration Tests + run: make test-e2e - test: - uses: babylonchain/.github/.github/workflows/reusable_go_lint_test.yml@v0.1.0 - with: - run-unit-tests: true - run-integration-tests: true - run-lint: false - integration-tests-command: | - make test-e2e - docker_pipeline: uses: babylonchain/.github/.github/workflows/reusable_docker_pipeline.yml@v0.1.0 - needs: ["lint", "test"] + needs: ["lint_test"] secrets: inherit with: publish: true