Skip to content

Commit 299da3e

Browse files
authored
Merge pull request #2 from ModelCloud/CSY/ignore-ini
add init py & ignore ini in tests
2 parents f4d79bc + 7755ea3 commit 299da3e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/unit_tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,14 @@ jobs:
3131
for file in "$dir"/*; do
3232
[ -f "$file" ] || continue
3333
filename=$(basename "$file")
34-
json_array+="\"$filename\","
34+
if [[ "$filename" == test_*.py ]]; then
35+
json_array+="\"$filename\","
36+
fi
3537
done
3638
3739
json_array="${json_array%,}]"
3840
3941
echo "$json_array"
40-
4142
echo "test-files=$json_array" >> "$GITHUB_OUTPUT"
4243
4344
test:

logbar/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from . import logbar
2+
3+
__all__ = ["logbar"]

0 commit comments

Comments
 (0)