Skip to content
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
41 changes: 41 additions & 0 deletions .github/workflows/testHumanEval.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Nagini HumanEval Python 3.11

on: [pull_request, workflow_dispatch]

jobs:
build:

runs-on: ubuntu-22.04
env:
BOOGIE_EXE: "/home/runner/.dotnet/tools/boogie"
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
architecture: "x64"
- name: Setup .NET
uses: xt0rted/setup-dotnet@v1.5.0
with:
dotnet-version: 6.0.x
- name: Install Boogie
run: |
dotnet tool install --global Boogie --version 2.15.9
- name: Install Nagini
run: |
python -m pip install --upgrade pip
pip install setuptools==68.2.0
pip install .
- name: Check out HumanEval examples
uses: actions/checkout@v2
with:
repository: JetBrains-Research/HumanEval-Nagini
path: HumanEval
- name: Run all examples
run: |
cd HumanEval
./public/scripts/test-all.sh
35 changes: 35 additions & 0 deletions .github/workflows/testSingle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Nagini Single Complex Test Ubuntu Python 3.11

on: [pull_request, workflow_dispatch]

jobs:
build:

runs-on: ubuntu-22.04
env:
BOOGIE_EXE: "/home/runner/.dotnet/tools/boogie"
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
architecture: "x64"
- name: Setup .NET
uses: xt0rted/setup-dotnet@v1.5.0
with:
dotnet-version: 6.0.x
- name: Install Boogie
run: |
dotnet tool install --global Boogie --version 2.15.9
- name: Install Nagini
run: |
python -m pip install --upgrade pip
pip install setuptools==68.2.0
pip install .
- name: Verify single complex file
run: |
nagini tests/functional/verification/examples/VerifyThis22_Challenge2.py
Loading