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

Make it possible to run CI's scripts in forks and locally #121

Closed
nazar-pc opened this issue Aug 1, 2021 · 2 comments · Fixed by #122
Closed

Make it possible to run CI's scripts in forks and locally #121

nazar-pc opened this issue Aug 1, 2021 · 2 comments · Fixed by #122

Comments

@nazar-pc
Copy link
Contributor

nazar-pc commented Aug 1, 2021

The way CI is currently configured makes it basically impossible to check things before submitting PR and then annoying everyone watching the repo with test commits.

The first issue is trilom/file-changes-action action that works in a very strange way in general and I would argue is basically broken: trilom/file-changes-action#116

The second issue related to that is that it is not possible to run sanity_checks.py locally due to the fact that it relies in files.json in the home folder.

From what I understand it is basically necessary to find out what files have changed as of commit on which the script is running relatively to:

  • master if not on master branch
  • relatively to older master revision right before current commit otherwise

If there was a script that does this just by using git diff or something, that would make it much nicer to work with.

@eli-schwartz
Copy link
Member

Ah, so thats why I got nonsense errors when I pushed a new PR branch to this repo.

@xclaesse
Copy link
Member

xclaesse commented Aug 2, 2021

Maybe instead of checking changed files to know which wraps needs to be sanity checked, I could just rely on the new release tags. As long as the PR is not making new releases, who cares if it's not conformant?

xclaesse added a commit to xclaesse/wrapdb that referenced this issue Aug 2, 2021
trilom/file-changes-action action has issues and it prevents running
sanity checks locally. Instead of relying on the changed files to know
which wraps are modified by a PR, rely on the added release tags.

Fixes: mesonbuild#121.
xclaesse added a commit that referenced this issue Aug 5, 2021
trilom/file-changes-action action has issues and it prevents running
sanity checks locally. Instead of relying on the changed files to know
which wraps are modified by a PR, rely on the added release tags.

Fixes: #121.
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 a pull request may close this issue.

3 participants