Skip to content

Commit c062966

Browse files
author
Victoria Hall
committed
basic format changed 1ES pipeline
1 parent 1353f58 commit c062966

File tree

1 file changed

+27
-17
lines changed

1 file changed

+27
-17
lines changed

.github/workflows/ci_e2e_workflow.yml

+27-17
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,21 @@
11
# This workflow will install Python dependencies and run end to end tests with single version of Python
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
33

4-
name: CI E2E tests
4+
pr:
5+
branches:
6+
include:
7+
- main
8+
paths:
9+
exclude:
10+
- '**.md'
11+
12+
trigger:
13+
branches:
14+
include:
15+
- main
16+
paths:
17+
exclude:
18+
- '**.md'
519

620
resources:
721
repositories:
@@ -10,15 +24,13 @@ resources:
1024
name: 1ESPipelineTemplates/1ESPipelineTemplates
1125
ref: refs/tags/release
1226

13-
on:
14-
push:
15-
branches: [dev, main, release/*]
16-
pull_request:
17-
branches: [dev, main, release/*]
18-
schedule:
19-
# Monday to Friday 3 AM CST build
20-
# * is a special character in YAML so you have to quote this string
21-
- cron: "0 8 * * 1,2,3,4,5"
27+
schedules:
28+
- cron: '0 0 * * MON'
29+
displayName: At 12:00 AM, only on Monday
30+
branches:
31+
include:
32+
- main
33+
always: true
2234

2335
extends:
2436
template: v1/1ES.Official.PipelineTemplate.yml@1es
@@ -30,17 +42,15 @@ extends:
3042

3143
stages:
3244
- stage: Build
33-
displayName: 'Python E2E CI Run -- 1ES PT'
45+
displayName: 'Python E2E CI Tests'
3446
jobs:
3547
- job: Build
3648
pool:
3749
name: 1es-pool-azfunc
3850
image: 1es-ubuntu-22.04
3951
os: linux
4052
steps:
41-
- name: Checkout code.
42-
uses: actions/checkout@v4
43-
- name: Set up Dotnet 8.0.x
44-
uses: actions/setup-dotnet@v4
45-
with:
46-
dotnet-version: "8.0.x"
53+
- task: UseDotNet@2
54+
displayName: 'Install .NET Core SDK 8'
55+
inputs:
56+
version: '8.x'

0 commit comments

Comments
 (0)