Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianElvis committed Aug 2, 2024
1 parent 6ee9a61 commit 91c3303
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 22 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- '**'

jobs:
lint:
lint_test:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
Expand All @@ -17,19 +17,14 @@ jobs:
go-version: '1.21.4'
- name: Run Lint
run: make lint

test:
uses: babylonchain/.github/.github/workflows/[email protected]
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/[email protected]
needs: ["lint", "test"]
needs: ["lint_test"]
secrets: inherit
with:
publish: false
Expand Down
17 changes: 6 additions & 11 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- '*'

jobs:
lint:
lint_test:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
Expand All @@ -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/[email protected]
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/[email protected]
needs: ["lint", "test"]
needs: ["lint_test"]
secrets: inherit
with:
publish: true
Expand Down

0 comments on commit 91c3303

Please sign in to comment.