Spaces:
Sleeping
Sleeping
Yohaan Seth Nathan commited on
Commit ·
183759d
1
Parent(s): 56f3486
Fix error with gihub actions and PRs
Browse files
.github/workflows/lishogi-bot-build.yml
CHANGED
|
@@ -6,8 +6,7 @@ name: Lishogi Bot Build
|
|
| 6 |
on:
|
| 7 |
push:
|
| 8 |
branches: [ master ]
|
| 9 |
-
|
| 10 |
-
branches: [ master ]
|
| 11 |
|
| 12 |
env:
|
| 13 |
BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
|
|
@@ -30,4 +29,4 @@ jobs:
|
|
| 30 |
pip install -r requirements.txt
|
| 31 |
- name: Test with pytest
|
| 32 |
run: |
|
| 33 |
-
pytest tests.py -s
|
|
|
|
| 6 |
on:
|
| 7 |
push:
|
| 8 |
branches: [ master ]
|
| 9 |
+
pull_request_target:
|
|
|
|
| 10 |
|
| 11 |
env:
|
| 12 |
BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
|
|
|
|
| 29 |
pip install -r requirements.txt
|
| 30 |
- name: Test with pytest
|
| 31 |
run: |
|
| 32 |
+
pytest tests.py -s
|