Skip to content

Certora GitHub Action #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 23 commits into
base: main
Choose a base branch
from
Open
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
38 changes: 38 additions & 0 deletions .github/workflows/certora.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Certora Tests

on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:

jobs:
certora_run_submission:
runs-on: ubuntu-latest
permissions:
contents: read
statuses: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Submit verification jobs to Certora Prover
uses: Certora/certora-run-action@v1
with:
configurations: |-
integrity.conf
vault_consistency.conf
no_dilution_processor.conf
solvency_processor.conf
fees.conf
inflation.conf
job-name: "Test Action"
ecosystem: solana
working-directory: programs/vault/src/certora/confs
certora-key: ${{ secrets.CERTORAKEY }}
certora-sbf-options: "-vvv"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 0 additions & 1 deletion programs/vault/src/certora/confs/base.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"build_script": "../../../certora_build.py",
"loop_iter": "1",
"optimistic_loop": false,
"java_args" : ["-Dlevel.sbf=info"],
Expand Down
Loading