From a8f668af294a39e39db62dd2a3dba9cfa0722069 Mon Sep 17 00:00:00 2001 From: Yiheng Wang Date: Thu, 25 Jan 2024 14:41:55 +0800 Subject: [PATCH] modify python version for weekly test Signed-off-by: Yiheng Wang --- .github/workflows/weekly-tests-cpu.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/weekly-tests-cpu.yml b/.github/workflows/weekly-tests-cpu.yml index 1acf24a2..bcff7c7c 100644 --- a/.github/workflows/weekly-tests-cpu.yml +++ b/.github/workflows/weekly-tests-cpu.yml @@ -6,16 +6,19 @@ on: - cron: "0 5 * * 0" # 5:00, every Sunday # Allows you to run this workflow manually from the Actions tab workflow_dispatch: + # Trigger the workflow on pull request activity + pull_request: + branches: [ dev ] jobs: get-list: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: 3.9 - name: cache weekly timestamp id: pip-cache run: | @@ -47,10 +50,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: 3.9 - name: cache weekly timestamp id: pip-cache run: |