mirror of
https://github.com/jdx/mise-action.git
synced 2026-05-14 13:50:33 +00:00
Fix alpine container installation (#189)
* Change test tool for future alpine CI testing * replace node with jq as it doesnt require any build on alpine * Fix alpine musl container install * add tests around mise install in alpine container * add support for musl os Fixes: https://github.com/jdx/mise-action/issues/186 * alpine needs bash to run test.sh script * remove unneeded logs * Update test.yml * Update test.yml
This commit is contained in:
parent
d20b46e041
commit
923c9f44ed
5 changed files with 86 additions and 42 deletions
|
|
@ -7,11 +7,12 @@ function assert_equal() {
|
|||
return 1
|
||||
fi
|
||||
}
|
||||
EXPECTED_OUTPUT="jq-1.7.1"
|
||||
|
||||
assert_equal "v22.0.0" "$(mise exec -- node --version)"
|
||||
which node
|
||||
assert_equal "$EXPECTED_OUTPUT" "$(mise exec -- jq --version)"
|
||||
which jq
|
||||
|
||||
# windows bash does not seem to work with shims
|
||||
if [[ "$(uname)" != "MINGW"* ]]; then
|
||||
assert_equal "v22.0.0" "$(node --version)"
|
||||
assert_equal "$EXPECTED_OUTPUT" "$(jq --version)"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue