Skip to content

Commit

Permalink
Cleanup build and fuzz-test GH workflows (#1410)
Browse files Browse the repository at this point in the history
* Remove redundant steps and add names to steps which were missing it

* Add workflow_dispatch to E2E tests and property tests

* Remove helper scripts from git index
  • Loading branch information
Stefan-Ethernal authored Apr 25, 2023
1 parent 93ac4d0 commit 7ca7f43
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 49 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: recursive


- name: Setup Go environment
uses: actions/setup-go@v3
with:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/e2e-polybft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on: # yamllint disable-line rule:truthy
- main
- develop
pull_request:
workflow_dispatch:
workflow_call:
outputs:
workflow_output:
Expand All @@ -22,7 +23,9 @@ jobs:
outputs:
e2e_output_failure: ${{ steps.run_e2e_failure.outputs.test_output }}
steps:
- uses: actions/checkout@v3
- name: Checkout code
uses: actions/checkout@v3

- name: Install Go
uses: actions/setup-go@v3
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
name: E2E tests
on: # yamllint disable-line rule:truthy
workflow_dispatch:
workflow_call:
outputs:
workflow_output:
Expand All @@ -17,7 +18,8 @@ jobs:
outputs:
e2eibft_output_failure: ${{ steps.run_e2eibft_failure.outputs.test_output }}
steps:
- uses: actions/checkout@v3
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: recursive

Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/fuzz-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ jobs:

- name: Checkout Code
uses: actions/checkout@v3
with:
submodules: recursive

- name: Install Dependencies
run: ./setup-ci.sh

- name: Run Fuzz Test
run: make fuzz-test
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/property-polybft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on: # yamllint disable-line rule:truthy
branches:
- main
- develop
workflow_dispatch:
workflow_call:
outputs:
workflow_output:
Expand All @@ -21,7 +22,9 @@ jobs:
outputs:
property_output_failure: ${{ steps.run_property_failure.outputs.test_output }}
steps:
- uses: actions/checkout@v3
- name: Checkout code
uses: actions/checkout@v3

- name: Install Go
uses: actions/setup-go@v3
with:
Expand Down
9 changes: 0 additions & 9 deletions init.sh

This file was deleted.

29 changes: 0 additions & 29 deletions start-cluster.sh

This file was deleted.

0 comments on commit 7ca7f43

Please sign in to comment.