Skip to content

Conversation

@MariusStorhaug
Copy link
Member

@MariusStorhaug MariusStorhaug commented Jan 6, 2025

Description

This pull request includes significant changes to the GitHub Actions workflows and a script file. The changes aim to consolidate workflow configurations, improve error handling, and add new validation settings.

Workflow Consolidation and Improvements:

  • .github/workflows/Action-Test.yml: Consolidated multiple test jobs into a single reusable workflow by referencing TestWorkflow.yml and using matrix strategy for operating systems.
  • .github/workflows/TestWorkflow.yml: Created a new reusable workflow with multiple test jobs, including ActionTestBasic, ActionTestWithScript, ActionTestCommands, ActionTestWithoutToken, and ActionTestWithPAT.

Validation Settings:

Script File Enhancements:

  • scripts/main.ps1: Improved error handling in the Install-PSResource function by adding a retry mechanism with a delay.
  • scripts/main.ps1: Made minor formatting changes to the script output.

Type of change

  • 📖 [Docs]
  • 🪲 [Fix]
  • 🩹 [Patch]
  • ⚠️ [Security fix]
  • 🚀 [Feature]
  • 🌟 [Breaking change]

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

@MariusStorhaug MariusStorhaug changed the title 🩹 [Patch]Run tests on all OS'es 🩹 [Patch]: Run tests on all OS'es Jan 6, 2025
@MariusStorhaug MariusStorhaug merged commit 080b28e into main Jan 6, 2025
7 checks passed
@MariusStorhaug MariusStorhaug deleted the testMultiOS branch January 6, 2025 17:03
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.

2 participants