Skip to content

Commit

Permalink
Differentiate between basic e2e tests (integration) and e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maurolacy committed Dec 14, 2024
1 parent 43b94d4 commit c9f0390
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
uses: babylonlabs-io/.github/.github/workflows/[email protected]
with:
run-unit-tests: true
run-integration-tests: false
run-integration-tests: true
integration-tests-command: |
make test-e2e
make test-integration
docker_pipeline:
uses: babylonlabs-io/.github/.github/workflows/[email protected]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: integration-e2e
name: e2e
on:
push:
branches:
Expand All @@ -14,5 +14,5 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: 1.23
- name: Run Integration Tests
- name: Run E2E Tests
run: sudo make test-e2e
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
run-unit-tests: true
run-integration-tests: true
integration-tests-command: |
make test-e2e
make test-integration
docker_pipeline:
uses: babylonlabs-io/.github/.github/workflows/[email protected]
Expand All @@ -24,4 +24,4 @@ jobs:
with:
publish: true
dockerfile: ./contrib/images/local-bcd/Dockerfile
repoName: babylon-sdk
repoName: babylon-sdk
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ test:
$(MAKE) -C demo test
$(MAKE) -C x test

test-integration:
$(MAKE) -C tests/e2e/ test

test-e2e: build-docker-e2e test-e2e-cache

test-e2e-cache:
$(MAKE) -C tests/e2e/ test
$(MAKE) test-e2e-bcd-consumer-integration

clean-e2e:
Expand Down

0 comments on commit c9f0390

Please sign in to comment.