Skip to content
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

with: test / ;with in all test.8th #124

Merged
merged 3 commits into from
Mar 5, 2024
Merged

Conversation

axtens
Copy link
Member

@axtens axtens commented Mar 4, 2024

CLI-based testing issue reported in https://forum.exercism.org/t/having-trouble-with-8th/10069

Will take this up with Ron Aaron, that a with: test at the end of the ./libs/exercism/test doesn't appear to work when the file is needs included and that the with: test is required again in the test.8th file itself.

In hello-world, the with: test at the end of ./libs/exercise/test appears to be being ignored. Putting with: test after the needs in hello-world's test.8th makes the test namespace visible to the tests in test.8th

LATER
According to this conversation there's no point in putting with: test at the bottom of ./libs/exercism/test, so I've removed them.

@axtens axtens requested a review from glennj March 4, 2024 07:46
Copy link

github-actions bot commented Mar 4, 2024

This PR touches files which potentially affect the outcome of the tests of an exercise. This will cause all students' solutions to affected exercises to be re-tested.

If this PR does not affect the result of the test (or, for example, adds an edge case that is not worth rerunning all tests for), please add the following to the merge-commit message which will stops student's tests from re-running. Please copy-paste to avoid typos.

[no important files changed]

For more information, refer to the documentation. If you are unsure whether to add the message or not, please ping @exercism/maintainers-admin in a comment. Thank you!

@glennj
Copy link
Contributor

glennj commented Mar 4, 2024

Right, that totally makes sense.

exercises/practice/acronym/acronym.8th Outdated Show resolved Hide resolved
@axtens
Copy link
Member Author

axtens commented Mar 5, 2024

@ErikSchierboom so when the Test/ci fails because I don't have the token Run actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 Error: Input required and not supplied: token is it still okay to squash and merge given that the other items subsequent have a tick?

@glennj
Copy link
Contributor

glennj commented Mar 5, 2024

You have to be confident that the changes will pass the tests. I don't see anything dangerous here, and I assume you tested locally before creating the PR

@ErikSchierboom
Copy link
Member

@ErikSchierboom so when the Test/ci fails because I don't have the token Run actions/checkout@b4ffde6 Error: Input required and not supplied: token is it still okay to squash and merge given that the other items subsequent have a tick?

It's a security/permissions thing. The only reason to workaround this is by creating the PR, not via the fork, but directly on this repo. In other words: to push the branch to this repo and not your fork, and then use that to create the PR from. This should work as you have repo permissions.

@ErikSchierboom
Copy link
Member

Let's just merge and see

@ErikSchierboom ErikSchierboom merged commit efafc54 into exercism:main Mar 5, 2024
1 of 2 checks passed
@ErikSchierboom
Copy link
Member

It was almost correct, just acronym failing: https://github.com/exercism/8th/actions/runs/8156564580/job/22294372857

@glennj
Copy link
Contributor

glennj commented Mar 5, 2024

Fixed in #125

@axtens axtens deleted the test_fix branch March 6, 2024 13:38
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