The project offers an easy to run a percy test suite in a synchronous manner.
npm i @browserstackce/percysync
export PERCY_TOKEN=<your_token>
export PERCY_TOKEN=<your_write_token>
export PERCY_READ_TOKEN=<your_read_token>
npx @browserstackce/percysync -- <test_command>
Example for a mvn project:
npx @maxmattone/percysync -- npx percy exex -- mvn test