Skip to content

Commit 4820df4

Browse files
author
liufeihong
committed
add pre-commit 0.8
1 parent 951d3a1 commit 4820df4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/test_game.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ jobs:
2929
- name: Run game_test.py
3030
env:
3131
DASHSCOPE_API_KEY: ${{ secrets.DASHSCOPE_API_KEY }}
32-
PYTHONPATH: $GITHUB_WORKSPACE/games/game_werewolves
3332
run: |
3433
# ✅ Ensure correct working directory
35-
cd $GITHUB_WORKSPACE
36-
python -m pytest tests/game_test.py -v
34+
print($(pwd))
35+
PYTHONPATH=$(pwd)/games/game_werewolves python -m pytest tests/game_test.py -v

0 commit comments

Comments
 (0)