Skip to content

Commit

Permalink
chore: update CI execution trigger/schedule
Browse files Browse the repository at this point in the history
- Full tests weekly on master
- Change trigger for GitHub actions

Signed-off-by: Hiroshi Miura <[email protected]>
  • Loading branch information
miurahr committed Nov 14, 2023
1 parent f5573da commit 87255bc
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 21 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/test-install-qt.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
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"]
py: ["3.9", "3.10", "3.11", "3.12"]
qtver: [5.9.9, 5.12.8, 6.1.0]
artifact: [standard]
include:
Expand Down
20 changes: 5 additions & 15 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
trigger:
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
Expand Down Expand Up @@ -56,7 +46,7 @@ jobs:
- job: Linux
dependsOn: MatricesGenerator
pool:
vmImage: 'ubuntu-20.04'
vmImage: 'ubuntu-22.04'
strategy:
matrix: $[ dependencies.MatricesGenerator.outputs['mtrx.linux'] ]
steps:
Expand Down
6 changes: 2 additions & 4 deletions ci/generate_azure_pipelines_matrices.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,9 @@ def __init__(self, platform, build_jobs):
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 = []
Expand Down

0 comments on commit 87255bc

Please sign in to comment.