Refrain GitHub CI from failing in development branches (#10948)

Move continue-on-error to step level. Apparently this setting works different when set at the task and the step level
https://github.com/actions/toolkit/issues/399#issuecomment-738700569

Now the CI will be considered as successful if the development branches fail.
This commit is contained in:
Eksperimental
2021-04-23 17:03:13 +02:00
committed by GitHub
parent 8bef4e8ac6
commit cdf2d3932f
+2 -1
View File
@@ -11,7 +11,6 @@ env:
jobs:
test_linux:
name: Linux, ${{ matrix.otp_release }}, Ubuntu 16.04
continue-on-error: ${{ matrix.development }}
strategy:
fail-fast: false
matrix:
@@ -47,8 +46,10 @@ jobs:
run: dialyzer -pa lib/elixir/ebin --build_plt --output_plt elixir.plt --apps lib/elixir/ebin/elixir.beam lib/elixir/ebin/Elixir.Kernel.beam
- name: Erlang test suite
run: make test_erlang
continue-on-error: ${{ matrix.development }}
- name: Elixir test suite
run: make test_elixir
continue-on-error: ${{ matrix.development }}
- name: Check reproducible builds
run: taskset 1 make check_reproducible
if: matrix.otp_release == 'OTP-23.0'