Skip to content
This repository has been 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
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
```
@Eric-Arellano Eric-Arellano requested a review from kt474 February 28, 2024 21:04
@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 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