Create or update a run on testrail and publish the test case results.
github.com/webdriverio-community/wdio-testrail-reporter
webdriverio-community/wdio-testrail-reporter