Skip to content

Commit

Permalink
test: add daily e2e cron job (#1752)
Browse files Browse the repository at this point in the history
* test: add daily e2e cron job

* moved cron comments below timings

* Separated nightly runs into new yml file

* Modified to use workflow_call, to keep things dry

* Added newline

* Rename nightly-e2e.yml to nightly-tests.yml

Co-authored-by: billy rennekamp <[email protected]>
  • Loading branch information
mmulji-ic and okwme authored Oct 5, 2022
1 parent e5f1945 commit e7a13b1
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/nightly-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: "Nightly E2E run"
on:
workflow_call:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"

jobs:

run-tests:
uses: cosmos/gaia/.github/workflows/test.yml@main

run-simulations:
uses: cosmos/gaia/.github/workflows/sims.yml@main


2 changes: 2 additions & 0 deletions .github/workflows/sims.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: Sims
on:
workflow_call:
workflow_dispatch:
pull_request:
push:
branches:
- main

jobs:
cleanup-runs:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Build & Test
on:
workflow_call:
pull_request:
push:
branches:
Expand Down

0 comments on commit e7a13b1

Please sign in to comment.