spack/.github/workflows
Tom Scogland 69f7a8f4d1
Reorder workflow execution in GHA (#32183)
This patchset refactors our GitHub actions into a single top-level ci workflow that
invokes a series of reusable actions.  The main goal of this is to be able to easily
control which tests run and in what order based on the success or failure of top-level
prechecks.  Our previous workflows ran in three sets:

* nix tests: style and verification first, then linux and macos tests if successful
* windows tests: style and verification first, then linux and macos tests if successful
* bootstrap tests

As a result, the bootstrap tests ran even if the style failed, and style and verification
had to run on two different platforms despite running identical checks.  I'm relatively
sure that's because of the limitation on dependencies between steps in the jobs.
Reusable workflows allow us to run the style, verification and now audit checks once,
then depending on the results, and the files changed, run the appropriate nix, windows
and bootstrap tests.  While it saves only a few minutes by itself, this makes it easier to
refactor checks to subset tests without having to replicate tests or other workflow
components in the future.

Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2022-09-02 14:09:23 -07:00
..
bootstrap-test.sh Reorder workflow execution in GHA (#32183) 2022-09-02 14:09:23 -07:00
bootstrap.yml Reorder workflow execution in GHA (#32183) 2022-09-02 14:09:23 -07:00
build-containers.yml build(deps): bump docker/build-push-action from 3.0.0 to 3.1.1 (#31964) 2022-08-08 10:51:13 +02:00
ci.yaml Reorder workflow execution in GHA (#32183) 2022-09-02 14:09:23 -07:00
execute_installer.ps1 Add Github Actions for Windows (#24504) 2022-03-17 09:01:01 -07:00
generate_spack_yaml_containerize.sh Update Dockerfiles and images for Spack v0.18.0 (#30216) 2022-04-22 08:51:26 +02:00
install_spack.sh Update actions/setup-python to latest version (#28634) 2022-01-28 14:17:59 +01:00
setup_git.ps1 buildcache: Update layout and signing (#30750) 2022-05-24 17:39:20 -04:00
setup_git.sh Use bash in setup_git.sh (#27676) 2021-11-26 18:03:05 +00:00
system_shortcut_check.ps1 Add Github Actions for Windows (#24504) 2022-03-17 09:01:01 -07:00
unit_tests.yaml Reorder workflow execution in GHA (#32183) 2022-09-02 14:09:23 -07:00
valid-style.yml Reorder workflow execution in GHA (#32183) 2022-09-02 14:09:23 -07:00
windows_python.yml Reorder workflow execution in GHA (#32183) 2022-09-02 14:09:23 -07:00