refactor and remove CI tests

Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
pull/1303/head
Pascal Marco Caversaccio 2 years ago
parent 6164fb86ad
commit e2afe85b2a
No known key found for this signature in database
GPG Key ID: 7C3B4B4B7725111F
  1. 2
      .github/workflows/black.yml
  2. 4
      .github/workflows/parser.yml
  3. 6
      tests/test_path_filtering/slither.config.json
  4. 4
      tests/test_path_filtering/test_path_filtering.py

@ -7,8 +7,6 @@ defaults:
shell: bash -ieo pipefail {0}
on:
push:
branches: [patch-1]
pull_request:
branches: [master, dev]
schedule:

@ -7,9 +7,6 @@ defaults:
shell: bash -ieo pipefail {0}
on:
push:
branches:
- patch-1
pull_request:
branches: [master, dev]
schedule:
@ -52,4 +49,3 @@ jobs:
- name: Test with pytest
run: |
pytest tests/test_ast_parsing.py
pytest tests/test_path_filtering/test_path_filtering.py

@ -1,6 +0,0 @@
{
"detectors_to_run": "all",
"exclude_informational": true,
"exclude_low": true,
"filter_paths": "filtering_paths/libs|filtering_paths/src/ReentrancyMock.sol"
}

@ -1,6 +1,4 @@
from slither import Slither
from tests.test_features import _run_all_detectors
def test_path_filtering():
slither = Slither("./tests/test_path_filtering/test_path_filtering.py")
_run_all_detectors(slither)
return Slither("./tests/test_path_filtering/test_path_filtering.sol", filter_paths=["filtering_paths/libs", "filtering_paths/src/ReentrancyMock.sol"])

Loading…
Cancel
Save