chore: update CI execution trigger/schedule (#735)

* chore: update CI execution trigger/schedule

- Full tests weekly on master
- Change trigger for GitHub actions

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore: suppress azure-pipelines on pr/push

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

---------

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
Hiroshi Miura
2023-11-14 23:06:18 +09:00
committed by GitHub
parent d1c55505b6
commit 447cce1429
3 changed files with 20 additions and 23 deletions

View File

@@ -1,15 +1,22 @@
name: Test on GH actions environment name: Test on GH actions environment
on: [push, pull_request] on:
push:
branches:
- master
pull_request:
branches:
- master
- releases/*
jobs: jobs:
test: test:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
os: [windows-latest, macOS-latest, ubuntu-latest] os: [windows-latest, ubuntu-latest]
py: ["3.8", "3.10", "3.11"] py: ["3.9", "3.12"]
qtver: [5.9.9, 5.12.8, 6.1.0] qtver: [5.9.9, 6.1.0]
artifact: [standard] artifact: [standard]
include: include:
- os: windows-latest - os: windows-latest

View File

@@ -1,19 +1,11 @@
trigger: trigger: none
branches: pr: none
include: schedules:
- releases/* - cron: '0 12 * * 0'
- refs/tags/v* displayName: Weekly sunday full tests
pr:
branches: branches:
include: include:
- master - master
- releases/*
paths:
include:
- aqt/*
- ci/*
- azure-pipelines.yml
jobs: jobs:
- job: MatricesGenerator - job: MatricesGenerator
@@ -56,7 +48,7 @@ jobs:
- job: Linux - job: Linux
dependsOn: MatricesGenerator dependsOn: MatricesGenerator
pool: pool:
vmImage: 'ubuntu-20.04' vmImage: 'ubuntu-22.04'
strategy: strategy:
matrix: $[ dependencies.MatricesGenerator.outputs['mtrx.linux'] ] matrix: $[ dependencies.MatricesGenerator.outputs['mtrx.linux'] ]
steps: steps:

View File

@@ -87,11 +87,9 @@ class PlatformBuildJobs:
self.build_jobs = build_jobs self.build_jobs = build_jobs
python_versions = [ python_versions = ["3.9", "3.11", "3.12"]
"3.9",
]
qt_versions = ["5.13.2", "5.15.2"] qt_versions = ["5.12.12", "5.15.14", "6.5.3"]
linux_build_jobs = [] linux_build_jobs = []
mac_build_jobs = [] mac_build_jobs = []