mirror of
https://github.com/imjasonh/testscript-rs
synced 2026-07-09 17:46:52 +00:00
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>
13 lines
423 B
Text
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"
|