Update CODE_OF_CONDUCT.md (#1708) #3
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
name: e2e | |
# Runs the CI end-to-end test network on all pushes to main or release branches | |
# and every pull request, but only if any Go files have been changed. | |
on: | |
workflow_dispatch: # allow running workflow manually | |
pull_request: | |
merge_group: | |
push: | |
branches: | |
- main | |
- release/** | |
jobs: | |
e2e-test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21' | |
- uses: actions/checkout@v4 | |
- uses: technote-space/get-diff-action@v6 | |
with: | |
PATTERNS: | | |
**/**.go | |
go.mod | |
go.sum | |
- name: Build | |
working-directory: test/e2e | |
# Run two make jobs in parallel, since we can't run steps in parallel. | |
run: make -j2 docker runner tests | |
if: "env.GIT_DIFF != ''" | |
- name: Run CI testnet | |
working-directory: test/e2e | |
run: ./run-multiple.sh networks/ci.toml | |
if: "env.GIT_DIFF != ''" |