From 1e9e2a409b845b1e44e6de8bf5b7bdc487bd5541 Mon Sep 17 00:00:00 2001 From: Oleh Prypin Date: Wed, 12 May 2021 18:23:27 +0200 Subject: [PATCH] Add bisect --- .github/workflows/tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bfb8a28f4..80db8f4c6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,7 +17,7 @@ jobs: - name: Checkout uses: actions/checkout@v2 with: - ref: ${{ github.event.inputs.branch }} + fetch-depth: 0 - name: Use Python ${{ matrix.python }} uses: actions/setup-python@v2 with: @@ -26,3 +26,6 @@ jobs: run: python -m pip install . - name: Run run: python test.py + - run: cp test.py test_.py + - name: Bisect + run: git bisect start && git bisect bad && git bisect good v2.0.3 && git bisect run bash -x -c 'PYTHONPATH=src python test_.py | grep FileModifiedEvent'