You can use the Machine executor for testing local IPv6 traffic. Unfortunately, we do not support IPv6 internet traffic, as not all of our cloud providers offer IPv6 support.
One way around this is to deploy a self-hosted runner as you are then in full control of the environment and so can define IPv6 directly if you have access to it.