Skip to content

Commit

Permalink
github: rework inclusion/exclusion to also consider candidate tracks
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Nov 14, 2024
1 parent fe38b03 commit aa6fa8c
Showing 1 changed file with 31 additions and 33 deletions.
64 changes: 31 additions & 33 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,65 +115,63 @@ jobs:
- vm-nesting
include:
- test: qemu-external-vm
track: "latest/edge"
track: ${{ startsWith(matrix.track, 'latest/') && matrix.track }}
os: 24.04
exclude:
# not compatible with 4.0/*
- test: container-copy
track: "4.0/edge"
track: ${{ startsWith(matrix.track, '4.0/') && matrix.track }}
- test: conversion
track: "4.0/edge"
track: ${{ startsWith(matrix.track, '4.0/') && matrix.track }}
- test: cpu-vm
track: "4.0/edge"
track: ${{ startsWith(matrix.track, '4.0/') && matrix.track }}
- test: devlxd-vm
track: "4.0/edge"
track: ${{ startsWith(matrix.track, '4.0/') && matrix.track }}
- test: efi-vars-editor-vm
track: "4.0/edge"
track: ${{ startsWith(matrix.track, '4.0/') && matrix.track }}
- test: network-bridge-firewall
os: 20.04
track: "4.0/edge"
track: ${{ startsWith(matrix.track, '4.0/') && matrix.track }}
- test: network-ovn
track: "4.0/edge"
track: ${{ startsWith(matrix.track, '4.0/') && matrix.track }}
- test: storage-buckets
track: "4.0/edge"
track: ${{ startsWith(matrix.track, '4.0/') && matrix.track }}
- test: storage-disks-vm
track: "4.0/edge"
track: ${{ startsWith(matrix.track, '4.0/') && matrix.track }}
- test: storage-vm btrfs
track: "4.0/edge"
track: ${{ startsWith(matrix.track, '4.0/') && matrix.track }}
- test: storage-vm ceph
track: "4.0/edge"
track: ${{ startsWith(matrix.track, '4.0/') && matrix.track }}
- test: storage-vm dir
track: "4.0/edge"
track: ${{ startsWith(matrix.track, '4.0/') && matrix.track }}
- test: storage-vm lvm
track: "4.0/edge"
track: ${{ startsWith(matrix.track, '4.0/') && matrix.track }}
- test: storage-vm lvm-thin
track: "4.0/edge"
track: ${{ startsWith(matrix.track, '4.0/') && matrix.track }}
- test: storage-vm zfs
track: "4.0/edge"
track: ${{ startsWith(matrix.track, '4.0/') && matrix.track }}
- test: storage-volumes-vm
track: "4.0/edge"
track: ${{ startsWith(matrix.track, '4.0/') && matrix.track }}
- test: tpm-vm
track: "4.0/edge"
track: ${{ startsWith(matrix.track, '4.0/') && matrix.track }}
- test: vm-migration
track: "4.0/edge"
track: ${{ startsWith(matrix.track, '4.0/') && matrix.track }}
# not compatible with 5.0/*
- test: efi-vars-editor-vm
track: "5.0/edge"
track: ${{ startsWith(matrix.track, '5.0/') && matrix.track }}
- test: vm-migration
track: "5.0/edge"
track: ${{ startsWith(matrix.track, '5.0/') && matrix.track }}
# skip track/os combinations that are too far appart
- track: "4.0/edge"
os: 24.04
- track: "5.0/edge"
os: 24.04
- track: "5.0/edge"
os: 20.04
- track: "5.21/edge"
os: 20.04
- track: "latest/edge"
os: 20.04
- track: "latest/edge"
os: 22.04
- os: 24.04
track: ${{ startsWith(matrix.track, '4.0/') && matrix.track }}
- os: 24.04
track: ${{ startsWith(matrix.track, '5.0/') && matrix.track }}
- os: 20.04
track: ${{ startsWith(matrix.track, '5.') && matrix.track }}
- os: 20.04
track: ${{ startsWith(matrix.track, 'latest/') && matrix.track }}
- os: 22.04
track: ${{ startsWith(matrix.track, 'latest/') && matrix.track }}

steps:
- name: Performance tuning
Expand Down

0 comments on commit aa6fa8c

Please sign in to comment.