From 2bf48b228cfbb94f0d045d0e73677693d69e1a23 Mon Sep 17 00:00:00 2001 From: Yang Wang Date: Sat, 8 Jun 2024 00:24:53 +0800 Subject: [PATCH] Update unit_test.yml --- .azure-pipelines/unit_test.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.azure-pipelines/unit_test.yml b/.azure-pipelines/unit_test.yml index f90aba2..356df9e 100644 --- a/.azure-pipelines/unit_test.yml +++ b/.azure-pipelines/unit_test.yml @@ -4,8 +4,17 @@ trigger: - main +schedules: + - cron: "0 0 * * 1" + displayName: Weekly build + branches: + include: + - main + always: true + pool: vmImage: ubuntu-latest + strategy: matrix: Python37: @@ -22,11 +31,13 @@ steps: - script: | python3 -m pip install --upgrade flake8 prometheus-client psutil opencensus opencensus-ext-azure displayName: Install External Packages + - script: | python3 -m flake8 displayName: Run Lint Tests + - script: | - cd tests && \ + cd tests && \ python3 -m unittest test_*.py continueOnError: true displayName: Run Unit Tests