Skip to content

Replace package manager + add dev env #261

Replace package manager + add dev env

Replace package manager + add dev env #261

Workflow file for this run

name: CI
on:
pull_request_review:
types: [submitted]
pull_request:
branches:
- main
workflow_dispatch:
jobs:
Regression:
requires: Linter

Check failure on line 13 in .github/workflows/CI.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/CI.yml (Line: 13, Col: 5): Unexpected value 'requires'
if: |
(
(github.event_name == 'pull_request_review' && github.event.review.state == 'approved') ||
(github.event_name == 'pull_request' &&
(github.event.pull_request.user.login == 'nivcertora' ||
github.event.pull_request.user.login == 'liav-certora')
)
) &&
github.event.pull_request.base.ref == 'main'
env:
ETHSCAN_API_KEY: ${{ secrets.ETHSCAN_API_KEY }}
QUORUM_PATH: "Quorum/tests"
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
runs-on: ubuntu-latest
container:
image: public.ecr.aws/certora/cvt-image:2024.10.23-4499-c4f8ad4
permissions:
id-token: write
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Dependencies via Poetry
run: |
pip install poetry
poetry install
- name: Run Linter
run: poetry run flake8 Quorum/
- name: Execute Regression Tests
run: |
poetry run pytest Quorum/tests --maxfail=1 --disable-warnings --tb=short
poetry run CheckProposal --config Quorum/tests/regression.json