Skip to content

Commit

Permalink
Trigger e2e test runs on alfajores differently
Browse files Browse the repository at this point in the history
Adds a new workflow that triggers e2e test runs on alfajores once a day,
and also in PRs whenever the e2e tests are updated.
  • Loading branch information
piersy committed Oct 23, 2024
1 parent 1960e67 commit 8169cda
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ jobs:
shell: bash
run: e2e_test/run_all_tests.sh

- name: Run e2e tests alfajores
shell: bash
run: NETWORK=alfajores e2e_test/run_all_tests.sh

Lint:
runs-on: ["8-cpu","self-hosted","org"]
steps:
Expand Down
44 changes: 44 additions & 0 deletions .github/workflows/e2e-test-deployed-network.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: e2e-test-deployed-network

on:
schedule:
- cron: "0 14 * * *"

on:
pull_request:
branches:
- master
- celo*
paths:
- 'e2e_test/**'

workflow_dispatch:

permissions:
contents: read

jobs:
e2e-tests:
runs-on: ["8-cpu","self-hosted","org"]
steps:
- uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version: '1.21'

- name: Build
run: make all

- uses: actions/setup-node@v4
with:
node-version: 18

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly-f625d0fa7c51e65b4bf1e8f7931cd1c6e2e285e9

- name: Run e2e tests alfajores
shell: bash
run: NETWORK=alfajores e2e_test/run_all_tests.sh

0 comments on commit 8169cda

Please sign in to comment.