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

Fix bad tox.ini passenv setting (Cherry-pick of #825) #826

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

Eric-Arellano
Copy link
Collaborator

Fixes #821.

I made a divergence from our testing in qiskit-sphinx-theme to make the INI file more readable, and I didn't properly test it. My bad!

This bug meant that we always used main as the branch name. I tested this out locally and it works now:

GITHUB_REF_NAME="pull" GITHUB_BASE_REF="upstream" tox -e docs
...
    raise ValueError(GITHUB_BRANCH)
ValueError: upstream

Fixes Qiskit#821. 

I made a divergence from our testing in qiskit-sphinx-theme to make the INI file more readable, and I didn't properly test it. My bad!

This bug meant that we always used `main` as the branch name. I tested this out locally and it works now:

```
GITHUB_REF_NAME="pull" GITHUB_BASE_REF="upstream" tox -e docs
...
    raise ValueError(GITHUB_BRANCH)
ValueError: upstream
```
@coveralls
Copy link

Pull Request Test Coverage Report for Build 8087057956

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 43.35%

Totals Coverage Status
Change from base Build 8083619565: 0.0%
Covered Lines: 2940
Relevant Lines: 6782

💛 - Coveralls

@kt474 kt474 merged commit 8fb6a73 into Qiskit:stable/0.10 Feb 28, 2024
19 checks passed
@Eric-Arellano Eric-Arellano deleted the EA/cp-tox branch February 28, 2024 21:41
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.

None yet

3 participants