Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

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

Merged
kt474 merged 1 commit into
Qiskit:stable/0.10from
Eric-Arellano:EA/cp-tox
Feb 28, 2024
Merged

Fix bad tox.ini passenv setting (Cherry-pick of #825)#826
kt474 merged 1 commit into
Qiskit:stable/0.10from
Eric-Arellano:EA/cp-tox

Conversation

@Eric-Arellano
Copy link
Copy Markdown
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
```
@Eric-Arellano Eric-Arellano requested a review from kt474 February 28, 2024 21:04
@coveralls
Copy link
Copy Markdown

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
@Eric-Arellano Eric-Arellano deleted the EA/cp-tox branch February 28, 2024 21:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants