Unit testing: Network access?

When using unit tests to auto grade, does the test have internet access?

I’m working on a project where students will have to query a public facing MySQL server for data. Works well enough when they run the tests on their computers, but want to double check that it’ll work when the GitHub actions take over to run the tests.

I think so. I was able to use curl in the setup portion of my autograding.