1
0
Fork 0
mirror of https://github.com/imjasonh/testscript-rs synced 2026-07-09 17:46:52 +00:00
testscript-rs/testdata/network_conditions.txt
Jason Hall 40bf2df34d
skip [net] tests on CI (#29)
I'm hoping this will also mean these get skipped when the Copilot agent
iterates, since it trips a firewall rule and results in comment spam:
https://github.com/imjasonh/testscript-rs/pull/27#issuecomment-3350186075

Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-09-30 02:42:58 -04:00

13 lines
423 B
Text

# Test network condition support
[env:CI] skip Skipping this test on GitHub Actions
# This command will only run if network is available
[net] exec echo "Network is available"
# This command will only run if network is not available
[!net] exec echo "Network is not available"
# At least one of the above should execute, so we should see some output
exec echo "Network test completed"
stdout "Network test completed"