hsutter / cppfront

A personal experimental C++ Syntax 2 -> Syntax 1 compiler
Other
5.46k stars 238 forks source link

CI: Unify execution conditions of test workflows #980

Closed jarzec closed 7 months ago

jarzec commented 7 months ago

Unifies the execution conditions of the two testing workflows:

Adds exclusion of the docs branch instead of limiting the tests to the main branch only. Adds the workflow_dispatch event for the .github/workflows/build-cppfront.yaml (already active in .github/workflows/build-cppfront.yaml). This allows manual execution of the workflow through the GitHub interface as soon as the workflow definition is included in the main branch.

After the proposed change both testing workflows will execute automatically on development branches used e.g. for preparing PRs.

This change is another follow-up of https://github.com/hsutter/cppfront/pull/975.

hsutter commented 7 months ago

Thanks!