Skip to content
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
14 changes: 11 additions & 3 deletions .github/workflows/bencher-ab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,15 @@ jobs:
1ES.Pool=gha-vmss-d16av5-ci,
"JobId=bab_benchmark_pr-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}",
]
if: ${{ contains(github.event.pull_request.labels.*.name, 'bench-ab') || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule'}}
if: &check_trigger_conditions >-
${{
(github.event.action == 'labeled'
&& github.event.label.name == 'bench-ab')
|| (github.event.action != 'labeled'
&& contains(github.event.labels.*.name, 'bench-ab'))
|| github.event_name == 'workflow_dispatch'
|| github.event_name == 'schedule'
}}
container:
image: mcr.microsoft.com/azurelinux/base/core:3.0
options: --user root
Expand Down Expand Up @@ -72,7 +80,7 @@ jobs:
1ES.Pool=gha-vmss-d16av5-ci,
"JobId=bab_benchmark_main-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}",
]
if: ${{ contains(github.event.pull_request.labels.*.name, 'bench-ab') || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule'}}
if: *check_trigger_conditions
container:
image: mcr.microsoft.com/azurelinux/base/core:3.0
options: --user root
Expand Down Expand Up @@ -127,7 +135,7 @@ jobs:
image: mcr.microsoft.com/azurelinux/base/core:3.0
options: --user root
needs: [benchmark_pr, benchmark_main]
if: ${{ contains(github.event.pull_request.labels.*.name, 'bench-ab') || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule'}}
if: *check_trigger_conditions
steps:
- name: Setup container dependencies
run: |
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/long-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,15 @@ permissions: read-all

jobs:
long-asan:
if: &check_trigger_conditions ${{ contains(github.event.pull_request.labels.*.name, 'run-long-test') || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule'}}
if: &check_trigger_conditions >-
${{
(github.event.action == 'labeled'
&& github.event.label.name == 'run-long-test')
|| (github.event.action != 'labeled'
&& contains(github.event.labels.*.name, 'run-long-test'))
|| github.event_name == 'workflow_dispatch'
|| github.event_name == 'schedule'
}}
name: "ASAN"
runs-on:
[
Expand Down
14 changes: 11 additions & 3 deletions .github/workflows/long-verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,15 @@ permissions: read-all
jobs:
model-checking-with-atomic-reconfig-consensus:
name: Model Checking With Atomic Reconfig - Consensus
if: ${{ contains(github.event.pull_request.labels.*.name, 'run-long-verification') || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
if: &check_trigger_conditions >-
${{
(github.event.action == 'labeled'
&& github.event.label.name == 'run-long-verification')
|| (github.event.action != 'labeled'
&& contains(github.event.labels.*.name, 'run-long-verification'))
|| github.event_name == 'workflow_dispatch'
|| github.event_name == 'schedule'
}}
runs-on:
[
self-hosted,
Expand Down Expand Up @@ -58,7 +66,7 @@ jobs:

model-checking-with-reconfig-consensus:
name: Model Checking With Reconfig - Consensus
if: ${{ contains(github.event.pull_request.labels.*.name, 'run-long-verification') || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
if: *check_trigger_conditions
runs-on:
[
self-hosted,
Expand Down Expand Up @@ -96,7 +104,7 @@ jobs:

simulation-consensus:
name: Simulation - Consensus
if: ${{ contains(github.event.pull_request.labels.*.name, 'run-long-verification') || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
if: *check_trigger_conditions
runs-on: ubuntu-latest
defaults:
run:
Expand Down