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

Remove bad makefile target gha #199

Merged
merged 3 commits into from
May 10, 2022

Conversation

rainij
Copy link
Contributor

@rainij rainij commented May 6, 2022

I simplified the test-setup in the spirit of issue #196. I did the following:

  1. Remove makefile target gha and the related target debug.
  2. Merge workflows ci.yml and ci-pull-request.yml into one file (ci.yml).
  3. Using make test to execute all tests in ci.yml.
  4. Corrected the test for exercise "binary" (I executed ./bin/generate --test-only binary) since it was (silently) failing.

I did (1) and (3) because, as discussed in the issue, the current setup is already so complicated that tests started to fail silently. Moreover, the debug target did not completely take into account that the default target isn't master anymore. I did (2) to avoid code duplication. That the failing test in (4) wasn't discovered before, shows that (3) is a good move (in my opinion).

@rainij
Copy link
Contributor Author

rainij commented May 6, 2022

One remark: The test in (4) still failed silently (look into the ci-run after my second commit). The scope of my PR is not to solve this, but I added a comment to this issue #134.

@rainij rainij marked this pull request as ready for review May 6, 2022 16:17

on:
pull_request:
push:
branches: [master, main]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you'd like, you could do a follow-up PR to change this to:

Suggested change
branches: [master, main]
branches: [main]

We've moved to using main for all repos.

@ErikSchierboom ErikSchierboom merged commit babd778 into exercism:main May 10, 2022
@ErikSchierboom
Copy link
Member

Merged. Thanks a lot! 🎉

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