Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoeilers authored Oct 4, 2021
1 parent 0b703da commit 983658f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 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: Python application
name: Nagini Tests Ubuntu

on:
push:
Expand All @@ -14,21 +14,22 @@ jobs:

runs-on: ubuntu-latest
env:
BOOGIE_EXE: "/usr/bin/boogie"
BOOGIE_EXE: "/home/runner/.dotnet/tools/boogie"
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install nagini
- name: Install Boogie
run: |
dotnet tool install --global Boogie --version 2.4.21
- name: Install Nagini
run: |
python -m pip install --upgrade pip
pip install pytest
pip install .
- name: Test with pytest
run: |
dotnet tool install --global Boogie --version 2.4.21
whereis boogie
nagini --verifier=carbon tests/functional/verification/empty.py
pytest src/nagini_translation/tests.py --silicon --carbon

0 comments on commit 983658f

Please sign in to comment.