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
on: [push, pull_request]
on:
push:
branches:
- master
pull_request:
branches:
- master
- releases/*
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macOS-latest, ubuntu-latest]
py: ["3.8", "3.10", "3.11"]
qtver: [5.9.9, 5.12.8, 6.1.0]
os: [windows-latest, ubuntu-latest]
py: ["3.9", "3.12"]
qtver: [5.9.9, 6.1.0]
artifact: [standard]
include:
- os: windows-latest

View File

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

View File

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