microsoft / microsoft/go

goinstallscript: Add tests for `-AzurePipelinePath` and `-GitHubActionsPath`

Open
#1,953 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
431
Forks
44
Avg merge
21h 18m
Merged PRs (30d)
30

Description

-AzurePipelinePath and -GitHubActionsPath cause go-install.ps1 to set up PATH in CI pipelines written in Azure Pipelines and GitHub Actions respectively. We don't currently have any tests that the logging command is sent as expected or that $GITHUB_PATH is written to.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with go-install.ps1 and locate the handling for -AzurePipelinePath and -GitHubActionsPath, then find the existing test setup for this script. Add coverage that verifies the Azure Pipelines logging command is sent and that $GITHUB_PATH is written for GitHub Actions. Done means both behaviors are tested as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, github-actions, go, powershell
Domain
ci-cd, devops, testing-qa
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.