Skip to content

Commit

Permalink
Act on CI results: don't have CI fail with a new exit code
Browse files Browse the repository at this point in the history
Due to the recent changes we started exiting with 1 on
_kerl status_ when no installation is active
  • Loading branch information
paulo-ferraz-oliveira committed Oct 22, 2023
1 parent a256167 commit c6c64bc
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,15 @@ jobs:
# yamllint disable rule:line-length
- name: Install chosen version
run: ./kerl install "$_KERL_VSN" "install_$_KERL_VSN"
- name: Check installation status
run: ./kerl status
- name: Check installation status (pre- activation)
run: ./kerl status || return 0
- name: Validate installation
run: |
source $(./kerl path install_"$_KERL_VSN")/activate
erl -s crypto -s init stop
erl_call
- name: Check installation status (post- activation)
run: ./kerl status
- name: Test KERL_RELEASE_TARGET
# yamllint disable rule:line-length
run: |
Expand Down Expand Up @@ -132,10 +134,12 @@ jobs:
cat ~/.kerl/builds/*/*.log
exit 1
fi
- name: Check installation status (build+install)
run: ./kerl status
- name: Check installation status (pre- activation)
run: ./kerl status || return 0
- name: Validate installation (build+install)
run: |
source $(./kerl path build-install_"${_KERL_VSN}")/activate
erl -s crypto -s init stop
erl_call
- name: Check installation status (post- activation)
run: ./kerl status

0 comments on commit c6c64bc

Please sign in to comment.