drgn/.github/workflows
Stephen Brennan e9141fa396 ci: reduce usage and add Python 3.12 beta
With 3.12 beta, there are 7 Python versions to test, which is making the
test matrix too large. To reduce the amount of CI test runs that occur,
by default we will only run 2: the oldest and newest released Python
versions. To further reduce the CI test runs, we will eliminate CI runs
when a branch is pushed (only main will be tested).

The "ci" action becomes a reusable workflow, which gets called by other
possible workflows:

1. pull_request.yml: On pull request, only the 2 default Python versions
   are tested.  The "test-all-python-versions" label can be applied to
   pull requests to override this.
2. push.yml: On push to main, all Python versions are tested.
3. vmtest-build.yml: After the vmtest kernels are built
4. On manual request: the user has the option to specify

Signed-off-by: Stephen Brennan <stephen@brennan.io>
2023-06-15 17:31:57 -07:00
..
ci.yml ci: reduce usage and add Python 3.12 beta 2023-06-15 17:31:57 -07:00
dco-check.yml CI: cancel previous runs when PR is force-pushed 2023-01-27 11:29:02 -08:00
pull_request.yml ci: reduce usage and add Python 3.12 beta 2023-06-15 17:31:57 -07:00
push.yml ci: reduce usage and add Python 3.12 beta 2023-06-15 17:31:57 -07:00
vmtest-build.yml ci: reduce usage and add Python 3.12 beta 2023-06-15 17:31:57 -07:00