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

Add workflow for running models ops test generated by model analysis … #1316

Merged
merged 1 commit into from
Feb 25, 2025
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
32 changes: 32 additions & 0 deletions .github/workflows/on-nightly-models-ops.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: On Nightly Models Ops

on:
workflow_dispatch:
# Temporarily disabled the scheduled run configuration because there are currently no tests
# marked with 'nightly_models_ops' in main branch. When model ops tests are added, uncomment the schedule below to
# automatically run them at 02:00 AM UTC every day.
# schedule:
# - cron: '0 2 * * *' # Runs at 02:00 AM UTC every day

jobs:
docker-build:
uses: ./.github/workflows/build-image.yml
secrets: inherit
build:
needs: docker-build
uses: ./.github/workflows/build.yml
secrets: inherit
with:
docker-image: ${{ needs.docker-build.outputs.docker-image }}
test:
needs:
- docker-build
- build
uses: ./.github/workflows/test.yml
secrets: inherit
with:
test_mark: 'nightly_models_ops'
test_group_cnt: 4
test_group_ids: '[1,2,3,4]'
docker-image: ${{ needs.docker-build.outputs.docker-image }}
runs-on: '[{"runs-on": "n150"}]'
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ markers =
push: marks tests as push
nightly: marks tests as nightly
nightly_sweeps: marks tests as nightly_sweeps
nightly_models_ops: marks tests as nightly_models_ops
slow: marks tests as slow # deprecated - slow tests, should not be run in push pipeline
run_in_pp: marks tests as run_in_pp # deprecated - tests that should run in push pipeline
skip_model_analysis: marks tests as skip_model_analysis
Expand Down
Loading