Skip to content

Add testing trait to indicate a CI environment that has restricted network access #8406

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

kcieplak
Copy link
Contributor

In some testing environments, network access is limited not allowing for hosts to access the public internet. Add a testing condition trait that can be used to determine if the test has unrestricted network access.

Environments that have this constraint can set SWIFTCI_RESTRICTED_NETWORK_ACCESS=1 to affect this condition.

…cess.

In some testing environments, network access is limited not allowing
for hosts to access the public internet.  Add a testing condition trait
that can be used to determine if the test has unrestricted network access.

Environments that have this constraint can set `SWIFTCI_RESTRICTED_NETWORK_ACCESS=1`
to affect this condition.
@bkhouri
Copy link
Contributor

bkhouri commented Mar 25, 2025

@swift-ci please test

@bkhouri bkhouri merged commit eae9cdd into swiftlang:main Mar 25, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants