Skip to content

🪲 [Fix]: Restore use of GITHUB_TOKEN and Prescript on module tests #161

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

Merged
merged 3 commits into from
Apr 20, 2025

Conversation

MariusStorhaug
Copy link
Member

@MariusStorhaug MariusStorhaug commented Apr 20, 2025

Description

This pull request reverts changes to the .github/workflows/Test-ModuleLocal.yml file to restore testing capabilities and module loading performance.

Details:

  • Restored the GITHUB_TOKEN environment variable mapping, allowing it to be used in tests once more.
  • Restored the Prescript step to preload the module with a specific version, optimizing module loading during Pester tests.

@MariusStorhaug MariusStorhaug self-assigned this Apr 20, 2025
@Copilot Copilot AI review requested due to automatic review settings April 20, 2025 08:29
@MariusStorhaug MariusStorhaug requested a review from a team as a code owner April 20, 2025 08:29
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR reintroduces the previously removed GITHUB_TOKEN environment variable and a Prescript step to enhance testing capabilities and improve module loading performance in the GitHub Actions workflow.

  • Reintroduced the GITHUB_TOKEN variable for use in tests.
  • Added a Prescript step to preload the module with a specified version for faster Pester tests.

@MariusStorhaug MariusStorhaug changed the title 🪲 [Fix]: Revert removal of GITHUB_TOKEN and Prescript on module tests 🪲 [Fix]: Restore use of GITHUB_TOKEN and Prescript on module tests Apr 20, 2025
@MariusStorhaug MariusStorhaug merged commit 4e5d875 into main Apr 20, 2025
100 checks passed
@MariusStorhaug MariusStorhaug deleted the fixGHToken branch April 20, 2025 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant