Github actions: kill all other jobs when one job fail

on: [push]

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        test_case: [a, b, c]
    steps:
      - uses: actions/checkout@v1
      - uses: actions/setup-python@v2
        with:
          python-version: '3.x'
      - run: python3 script.py ${{ matrix.test_case }}

This is my .github/workflow/main.yml to trigger test_case a , b , c concurrently. It is considered success only when all 3 jobs passed, and otherwise failure.

So, to save my time, how do I send a signal to kill other jobs when one of them fails?

This should already be the case as fail-fast is set to true by default when defining a matrix.