这是indexloc提供的服务,不要输入任何密码
Skip to content

Make PLT_TR_CONTRACTS easier to toggle in CI #1280

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
merged 1 commit into from
Sep 9, 2022

Conversation

jackfirth
Copy link
Contributor

This changes PLT_TR_CONTRACTS so that the legal values are "true", "false", "", and unset, and only the first of those choices results in enable-contracts? being true. Previously, setting PLT_TR_CONTRACTS to any string at all (including explicitly setting it to the empty string) would enable contracts.

I made this change so I could simplify the CI setup a little, since this lets the ${{ matrix.enable-contracts }} expression be passed directly in the environment.

This changes PLT_TR_CONTRACTS so that the legal values are `"true"`, `"false"`, `""`, and unset, and only the first of those choices results in `enable-contracts?` being true. Previously, setting `PLT_TR_CONTRACTS` to any string at all (including explicitly setting it to the empty string) would enable contracts.

I made this change so I could simplify the CI setup a little, since this lets the `${{ matrix.enable-contracts }}` expression be passed directly in the environment.
@capfredf capfredf merged commit 5037edd into racket:master Sep 9, 2022
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.

2 participants