Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce double nightly tests #1911

Merged
merged 4 commits into from
Apr 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/workflows/azureml-cpu-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,20 @@ on:
# cron works with default branch (main) only: # https://github.community/t/on-schedule-per-branch/17525/2

push:
# because we can't schedule runs for non-main branches,
# Because we can't schedule runs for non-main branches,
# to ensure we are running the build on the staging branch, we can add push policy for it
branches: [staging]

pull_request:
branches:
- 'main'
paths:
# Unit tests will be run only when there are changes in the
# unit tests related code including:
# Tests will be run only when there are changes in the code:
- examples/**
- '!examples/**/*.md'
- recommenders/**
- '!recommenders/**/*.md'
- tests/**
- '!tests/**/*.md'
- setup.py


# Enable manual trigger
workflow_dispatch:
input:
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/azureml-gpu-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,20 @@ on:
# cron works with default branch (main) only: # https://github.community/t/on-schedule-per-branch/17525/2

push:
# because we can't schedule runs for non-main branches,
# Because we can't schedule runs for non-main branches,
# to ensure we are running the build on the staging branch, we can add push policy for it
branches: [staging]

pull_request:
branches:
- 'main'
paths:
# Unit tests will be run only when there are changes in the
# unit tests related code including:
# Tests will be run only when there are changes in the code:
- examples/**
- '!examples/**/*.md'
- recommenders/**
- '!recommenders/**/*.md'
- tests/**
- '!tests/**/*.md'
- setup.py


# Enable manual trigger
workflow_dispatch:
input:
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/azureml-spark-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,17 @@ on:
# cron works with default branch (main) only: # https://github.community/t/on-schedule-per-branch/17525/2

push:
# because we can't schedule runs for non-main branches,
# Because we can't schedule runs for non-main branches,
# to ensure we are running the build on the staging branch, we can add push policy for it
branches: [staging]

pull_request:
branches:
- 'main'
paths:
# Unit tests will be run only when there are changes in the
# unit tests related code including:
# Tests will be run only when there are changes in the code:
- examples/**
- '!examples/**/*.md'
- recommenders/**
- '!recommenders/**/*.md'
- tests/**
- '!tests/**/*.md'
- setup.py

# Enable manual trigger
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/azureml-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ on:
- 'staging'
- 'main'
paths:
# Unit tests will be run only when there are changes in the
# unit tests related code including:
# Tests will be run only when there are changes in the code:
- examples/**
- '!examples/**/*.md'
- recommenders/**
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/sarplus.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
# ---------------------------------------------------------
# This workflow will run tests and do packaging for contrib/sarplus.
#
# References:
Expand Down