Skip to content

Commit 22b9a14

Browse files
authored
Merge pull request #9 from xnuinside/test_pipelines
update pipelines
2 parents 5702767 + 3ebb4c6 commit 22b9a14

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
needs: [flake8_py3]
3333
strategy:
3434
matrix:
35-
python: [3.8, 3.9, 3.10]
35+
python: [3.8, 3.9, '3.10']
3636
steps:
3737
- uses: actions/checkout@v2
3838
- name: Set up Python

tests/test_codegraph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ def test_main():
1616
"process_module_in_graph": [],
1717
}
1818
}
19-
assert usage_graph == excepted
19+
assert sorted(usage_graph) == sorted(excepted)

tests/test_utils.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ def test_get_python_paths_list():
1818
["core.py", "parser.py", "utils.py", "vizualyzer.py", "main.py"],
1919
)
2020
)
21-
assert (
21+
assert sorted(
2222
get_python_paths_list(
2323
(pathlib.Path(__file__).parents[1] / "codegraph").as_posix()
24-
)
25-
== expected
26-
)
24+
)) == sorted(expected)

0 commit comments

Comments
 (0)