You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create auto-config input to allow users to specify if lean-action should use the Lake workspace (or grep in some cases) to determine a configuration for lean-action.
I created #61 as a first draft of the auto-config input. I am open to any feedback on the semantics of the new auto-config and build inputs or the changes to the test input.
`auto-config` allows users to specify if `lean-action` should use the
Lake workspace to automatically decide which CI features to run.
`build` allows users to specify if `lean-action` runs `lake build`.
By default, `auto-config: true`.
The `test` and `build` (and soon `lint`, see #46) inputs allow users to
override the automatically configured behavior or configure
`lean-action` when `auto-config: false`.
`auto-config: true` is close to the previous default behavior, however
there is a difference in the outcome of the `lake test` step. When users
set `test: true` manually, `lean-action` must find tests with `lake
check-test` and run `lake test` or it will fail (this was the previous
behavior). However with `auto-config: true`, if `lake check-test` fails,
`lean-action` will not run `lake test` and this won't cause
`lean-action` to fail.
Closes#60, #53, and #30.
Create
auto-config
input to allow users to specify iflean-action
should use the Lake workspace (or grep in some cases) to determine a configuration forlean-action
.Related: #30, #46, #53
This feature still needs to be fleshed out.
The text was updated successfully, but these errors were encountered: