-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
323 changed files
with
9,696 additions
and
6,804 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
name: PR Testing | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
pull_request: | ||
branches: | ||
- develop | ||
|
@@ -59,7 +62,14 @@ jobs: | |
command: | | ||
echo "Running Build Tests" | ||
make clean | ||
make test | ||
make test-coverage | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
file: coverage.out | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
slug: zeta-chain/node | ||
|
||
- name: Build zetacored and zetaclientd | ||
env: | ||
|
@@ -77,7 +87,7 @@ jobs: | |
shell: bash | ||
run: rm -rf * | ||
|
||
smoke-test: | ||
e2e-test: | ||
runs-on: buildjet-4vcpu-ubuntu-2204 | ||
timeout-minutes: 25 | ||
steps: | ||
|
@@ -120,12 +130,12 @@ jobs: | |
cd contrib/localnet/ | ||
docker compose up -d zetacore0 zetacore1 zetaclient0 zetaclient1 eth bitcoin | ||
- name: Run Smoke Test | ||
- name: Run E2E Test | ||
run: | | ||
cd contrib/localnet | ||
docker-compose up orchestrator --exit-code-from orchestrator | ||
if [ $? -ne 0 ]; then | ||
echo "Smoke Test Failed" | ||
echo "E2E Test Failed" | ||
exit 1 | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -216,7 +216,14 @@ jobs: | |
command: | | ||
echo "Running Build Tests" | ||
make clean | ||
make test | ||
make test-coverage | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
file: coverage.out | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
slug: zeta-chain/node | ||
|
||
- name: Build zetacored and zetaclientd | ||
if: ${{ github.event.inputs.skip_checks != 'true' }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.