Skip to content
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

[WIP] Merge testing analyzer #39

Open
wants to merge 27 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
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
6 changes: 2 additions & 4 deletions .github/workflows/testing_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Invariant testing CI

on:
push:
branches: [ "main" ]
branches: [ "main", "merge_testing_analyzer" ]
pull_request:
branches: [ "main" ]

Expand All @@ -21,7 +21,6 @@ jobs:
python-version: "3.12.2"
- name: Setup dependencies
run: |
cd testing
python -m pip install --upgrade pip
pip install poetry
poetry install --with dev
Expand All @@ -31,5 +30,4 @@ jobs:
env:
OPENAI_API_KEY: ${{ secrets.INVARIANT_TESTING_OPENAI_KEY }}
run: |
cd testing
poetry run pytest --cov=invariant --cov-report=term --cov-fail-under=60 -s -vv tests
poetry run pytest --cov=invariant --cov-report=term --cov-fail-under=60 -s -vv invariant/tests
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Code:

```python
# content of tests/test_weather.py
import invariant.testing.functional as F
import invariant.testing.testing.functional as F
from invariant.testing import Trace, assert_equals

def test_weather():
Expand Down
13 changes: 0 additions & 13 deletions analyzer/invariant/__init__.py

This file was deleted.

119 changes: 0 additions & 119 deletions analyzer/invariant/cli.py

This file was deleted.

8 changes: 0 additions & 8 deletions analyzer/invariant/stdlib/invariant/__init__.py

This file was deleted.

7 changes: 0 additions & 7 deletions analyzer/invariant/stdlib/invariant/detectors/__init__.py

This file was deleted.

43 changes: 0 additions & 43 deletions analyzer/pyproject.toml

This file was deleted.

Loading
Loading