Skip to content

Commit

Permalink
Add a fetch of release branches
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverholworthy committed Feb 3, 2023
1 parent a511948 commit b83d218
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
branch=main
if [[ $ref_type == "tag"* ]]
then
git -c protocol.version=2 fetch --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/release*:refs/remotes/origin/release*
branch=$(git branch -r --contains ${{ github.ref_name }} --list '*release*' --format "%(refname:short)" | sed -e 's/^origin\///')
fi
tox -e test-cpu -- $branch
Expand Down

0 comments on commit b83d218

Please sign in to comment.