This action lets you define a custom Python script inside the workflow YAML file. Write your Python code as the script argument, and use the YAML multiline string feature to define multiline scripts.
This contains a script that can be run after a maven build. This script figures out how many tests ran and how many of them failed. The idea is that maven itself can just ignore test failures, and run ...