Skip to content

Commit 8fef0e1

Browse files
authored
1501-enhance-PR-testing-workflow (#1502)
* test new action for quick test; add temp tests Signed-off-by: Wenqi Li <[email protected]> * testing action Signed-off-by: Wenqi Li <[email protected]> * remove temp test Signed-off-by: Wenqi Li <[email protected]>
1 parent a2da8a1 commit 8fef0e1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/pythonapp.yml

+8
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ jobs:
1515
flake8-py3:
1616
runs-on: ubuntu-latest
1717
steps:
18+
- name: Cancel Previous Jobs
19+
uses: styfle/[email protected]
20+
with:
21+
access_token: ${{ github.token }}
1822
- uses: actions/checkout@v2
1923
- name: Set up Python 3.8
2024
uses: actions/setup-python@v2
@@ -184,6 +188,10 @@ jobs:
184188
options: --gpus all
185189
runs-on: [self-hosted, linux, x64, common]
186190
steps:
191+
- name: Cancel Previous Self-hosted Runs
192+
uses: styfle/[email protected]
193+
with:
194+
access_token: ${{ github.token }}
187195
- uses: actions/checkout@v2
188196
- name: apt install
189197
run: |

0 commit comments

Comments
 (0)