From 6d72e77e9e8feb4fc662624aa205ce42564b314c Mon Sep 17 00:00:00 2001 From: Wenqi Li Date: Mon, 25 Jan 2021 18:03:43 +0000 Subject: [PATCH 1/3] test new action for quick test; add temp tests Signed-off-by: Wenqi Li --- .github/workflows/pythonapp.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 8e92ea0ed7..13aa61bab4 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -5,6 +5,7 @@ on: push: branches: - master + - 1501-ci-cd pull_request: jobs: @@ -184,6 +185,10 @@ jobs: options: --gpus all runs-on: [self-hosted, linux, x64, common] steps: + - name: Cancel Previous Self-hosted Runs + uses: styfle/cancel-workflow-action@0.7.0 + with: + access_token: ${{ github.token }} - uses: actions/checkout@v2 - name: apt install run: | From e917d0f3dc8127507e3bbe6267fb6c4591e2fe36 Mon Sep 17 00:00:00 2001 From: Wenqi Li Date: Mon, 25 Jan 2021 18:27:19 +0000 Subject: [PATCH 2/3] testing action Signed-off-by: Wenqi Li --- .github/workflows/pythonapp.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 13aa61bab4..b3476462ff 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -16,6 +16,10 @@ jobs: flake8-py3: runs-on: ubuntu-latest steps: + - name: Cancel Previous Jobs + uses: styfle/cancel-workflow-action@0.7.0 + with: + access_token: ${{ github.token }} - uses: actions/checkout@v2 - name: Set up Python 3.8 uses: actions/setup-python@v2 From 5fbe0d4a996922802f2e5a487c4b8355defd247d Mon Sep 17 00:00:00 2001 From: Wenqi Li Date: Mon, 25 Jan 2021 18:30:37 +0000 Subject: [PATCH 3/3] remove temp test Signed-off-by: Wenqi Li --- .github/workflows/pythonapp.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index b3476462ff..7eef0267dd 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -5,7 +5,6 @@ on: push: branches: - master - - 1501-ci-cd pull_request: jobs: