Skip to content

Commit e35c623

Browse files
Modify Python test workflow for additional branch
Updated the GitHub Actions workflow to trigger on the 'tests' branch and specified the test file for pytest.
1 parent 17ea545 commit e35c623

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/python-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Python Test
55

66
on:
77
push:
8-
branches: [ master ]
8+
branches: [ master, tests ]
99
pull_request:
1010
branches: [ master ]
1111

@@ -40,7 +40,7 @@ jobs:
4040
env:
4141
LICHESS_BOT_TEST_TOKEN: ${{secrets.LICHESS_BOT_TEST_TOKEN}}
4242
run: |
43-
pytest --log-cli-level=10
43+
pytest test_bot/test_bot.py --log-cli-level=10
4444
- name: Save engines
4545
id: cache-temp-save
4646
uses: actions/cache/save@v4

0 commit comments

Comments
 (0)