Skip to content

Commit

Permalink
Adding manual triggering of e2e via workflow dispatch (cosmos#1749)
Browse files Browse the repository at this point in the history
  • Loading branch information
chatton authored Jul 21, 2022
1 parent cc74109 commit 5f5a287
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/e2e-fork.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
name: Tests / E2E Fork
on:
workflow_dispatch:
pull_request:
branches:
- main
paths-ignore:
- docs/**

jobs:
# dynamically build a matrix of test/test suite pairs to run
build-test-matrix:
if: ${{ github.event.pull_request.head.repo.fork || github.actor == 'dependabot[bot]' }}
if: ${{ github.event.pull_request.head.repo.fork || github.actor == 'dependabot[bot]' || github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
Expand All @@ -24,7 +26,7 @@ jobs:
env:
SIMD_TAG: latest
SIMD_IMAGE: ibc-go-simd-e2e
if: ${{ github.event.pull_request.head.repo.fork || github.actor == 'dependabot[bot]' }}
if: ${{ github.event.pull_request.head.repo.fork || github.actor == 'dependabot[bot]' || github.event_name == 'workflow_dispatch' }}
needs:
- build-test-matrix
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Tests / E2E
on:
workflow_dispatch:
pull_request:
push:
branches:
Expand Down

0 comments on commit 5f5a287

Please sign in to comment.