SIN is your destination, so you have to have a place to quarantine for your arrival test results.
You will be denied boarding if you don't have a place to quarantine.
Your test result probably won't be back before your flight back to SYD, so you will be likely denied boarding in SYD.