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