Skip to content

Enable running tests for other branches than main #11

@antja0

Description

@antja0

See manifest.json at https://github.com/3d-group/unity-package-template/blob/main/Samples/ExampleUnityProject/Packages/manifest.json

Currently tests work so that the package is imported via git url. This means main branch.
Perhaps there is syntax to allow cloning from different branch eg. https://git-repository.git@branch ?

It is possible to get current branch name inside github actions with github ref parameter.
See eg. https://stackoverflow.com/questions/58033366/how-to-get-current-branch-within-github-actions

Or perhaps develop way to do this to the test runner action: game-ci/unity-test-runner#71

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions