Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't build solution multiple times in unit test GitHub Action #3147

Open
pmaytak opened this issue Nov 15, 2024 · 0 comments
Open

Don't build solution multiple times in unit test GitHub Action #3147

pmaytak opened this issue Nov 15, 2024 · 0 comments

Comments

@pmaytak
Copy link
Contributor

pmaytak commented Nov 15, 2024

We have a GitHub Action that runs unit tests: https://github.com/AzureAD/microsoft-identity-web/actions/workflows/dotnetcore.yml

Currently the runner doesn't have the latest VS and MSBuild versions needed (17.12) to build .NET 9.

As a workaround we removed --no-restore --no-build when running .NET 9 tests only, meaning we perform a build. https://github.com/AzureAD/microsoft-identity-web/actions/runs/11846915780/workflow#L52

Once the runner is updated, we need to add those flags back in to speed up the tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant