Skip to content

CP-49906 :CI: Merge pytest & Coveralls (1/2 of simplifying merges with master) #5774

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

Conversation

ashwin9390
Copy link
Contributor

Main ticket CP-49100 :Move python3 scripts from scripts directory to python3 directory.

Sub task CP-49906:

Patch 1/2 for easier merges of .github/workflows/other.yml with master:

  1. Merge the pytest and use of Coveralls from master into feature/py3.
  2. Unblock moving of the remaining tests to python3/tests:

Merge the removal of --cov-fail-under 45 from master into the Python3. It unblocks moving scripts/plugins/test_extauth_hook_AD.py to python3.

Author: Signed-off-by: Bernhard Kaindl bernhard.kaindl@cloud.com

Committed by: Signed-off-by: Ashwinh ashwin.h@cloud.com

Patch 1/2 for easier merges of `.github/workflows/other.yml` with master:

1. Merge the pytest and use of Coveralls from `master` into `feature/py3`.
2. Unblock moving of the remaining tests to `python3/tests`:

Merge the removal of `--cov-fail-under 45` from master into the Python3.
It unblocks moving `scripts/plugins/test_extauth_hook_AD.py` to `python3`.

Signed-off-by: Bernhard Kaindl <bernhard.kaindl@cloud.com>
@psafont
Copy link
Member

psafont commented Jul 4, 2024

I think it's worth merging from master instead of adding commits and deal with conflicts after the fact

@ashwin9390
Copy link
Contributor Author

ashwin9390 commented Jul 4, 2024

I think it's worth merging from master instead of adding commits and deal with conflicts after the fact

A:Thank you for the feedback , this PR would help us in moving forward ,extauth-hook-AD.py fails for 2.7 ,removing the requirement of 45% coverage will be helpful. https://github.com/ashwin9390/xen-api/actions/runs/9758441405 ,need to find a way to fix 3.11 errors.

bernhardkaindl added a commit to xenserver-next/xen-api that referenced this pull request Jul 4, 2024
Conflict in .github/workflows/other.yml resolved like in xapi-project#5774
bernhardkaindl added a commit to xenserver-next/xen-api that referenced this pull request Jul 4, 2024
Conflict in .github/workflows/other.yml resolved like in xapi-project#5774

Signed-off-by: Bernhard Kaindl <bernhard.kaindl@cloud.com>
@bernhardkaindl
Copy link
Collaborator

bernhardkaindl commented Jul 4, 2024

Thanks!

There is no problem to merge from master and use the same .github/workflows/other.yml as basis to resolve the conflict.

This is opened in #5776 now, and as it supersedes this PR, I'm closing it as obsolete.

@bernhardkaindl bernhardkaindl deleted the CI-merge-master-coveralls-simplify-future-merges branch July 10, 2024 05:28
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