Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/recursion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@ on:
pull_request:
paths:
- "recursion/**"
schedule:
- cron: "0 2 * * *"
workflow_dispatch:

jobs:
test:
defaults:
run:
working-directory: recursion
permissions:
issues: write

runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -42,3 +47,16 @@ jobs:
run: |
yarn generate-proof
working-directory: recursion/js

- name: Create issue on failure (nightly)
if: failure() && github.event_name == 'schedule'
uses: actions/github-script@v6
with:
script: |
github.issues.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: '[Nightly] Recursion workflow failed',
body: `The nightly Recursion workflow failed. Please investigate.\n\n/cc @noir-lang/developerrelations`,
labels: ['nightly', 'bug']
})
18 changes: 18 additions & 0 deletions .github/workflows/solidity-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@ on:
pull_request:
paths:
- "solidity-example/**"
schedule:
- cron: "0 2 * * *"
workflow_dispatch:

jobs:
test:
defaults:
run:
working-directory: solidity-example
permissions:
issues: write

runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -56,3 +61,16 @@ jobs:
bb prove -b ./target/noir_solidity.json -w target/noir_solidity.gz -o ./target --oracle_hash keccak
cd ..
(cd contract && forge test --optimize --optimizer-runs 5000 --gas-report -vvv)

- name: Create issue on failure (nightly)
if: failure() && github.event_name == 'schedule'
uses: actions/github-script@v6
with:
script: |
github.issues.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: '[Nightly] Solidity-example workflow failed',
body: `The nightly Solidity-example workflow failed. Please investigate.\n\n/cc @noir-lang/developerrelations`,
labels: ['nightly', 'bug']
})
19 changes: 19 additions & 0 deletions .github/workflows/web-starter-playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,16 @@ on:
pull_request:
paths:
- "web-starter/**"
schedule:
- cron: "0 2 * * *"
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
permissions:
issues: write

steps:
- uses: actions/checkout@v2

Expand Down Expand Up @@ -62,3 +68,16 @@ jobs:
working-directory: web-starter/web/webpack
run: |
yarn test:e2e

- name: Create issue on failure (nightly)
if: failure() && github.event_name == 'schedule'
uses: actions/github-script@v6
with:
script: |
github.issues.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: '[Nightly] Web-starter Playwright workflow failed',
body: `The nightly Web-starter Playwright workflow failed. Please investigate.\n\n/cc @noir-lang/developerrelations`,
labels: ['nightly', 'bug']
})