Skip to content

Commit

Permalink
Duplicate actions in the CI pipeline (#4552)
Browse files Browse the repository at this point in the history
* Update CI actions triggers

* Empty commit to trigger CI

* Update the workflows to optimize CI
  • Loading branch information
nazarhussain committed Sep 15, 2022
1 parent 9254e72 commit 146f826
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 6 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/test-browser.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Browser tests

on: [pull_request, push]
on:
push:
# We intentionally don't run push on feature branches. See PR for rational.
branches: [unstable, stable]
pull_request:
workflow_dispatch:

jobs:
tests-main:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: E2E tests

on: [pull_request, push]
on:
push:
# We intentionally don't run push on feature branches. See PR for rational.
branches: [unstable, stable]
pull_request:
workflow_dispatch:

env:
GOERLI_RPC_DEFAULT_URL: https://goerli.infura.io/v3/84842078b09946638c03157f83405213
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/test-sim-merge.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Sim merge tests

on: [pull_request, push]
on:
push:
# We intentionally don't run push on feature branches. See PR for rational.
branches: [unstable, stable]
pull_request:
workflow_dispatch:

env:
GETH_COMMIT: be9742721f56eb8bb7ebf4f6a03fb01b13a05408
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/test-sim.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Sim tests

on: [pull_request, push]
on:
push:
# We intentionally don't run push on feature branches. See PR for rational.
branches: [unstable, stable]
pull_request:
workflow_dispatch:

jobs:
tests-sim:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/test-spec.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Spec tests

on: [pull_request, push]
on:
push:
# We intentionally don't run push on feature branches. See PR for rational.
branches: [unstable, stable]
pull_request:
workflow_dispatch:

jobs:
tests-spec:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Tests

on: [pull_request, push]
on:
push:
# We intentionally don't run push on feature branches. See PR for rational.
branches: [unstable, stable]
pull_request:
workflow_dispatch:

jobs:
tests-main:
Expand Down

0 comments on commit 146f826

Please sign in to comment.