Skip to content

🩹 [Patch]: Run tests on all OS'es #19

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 13 commits into from
Jan 6, 2025
Merged

🩹 [Patch]: Run tests on all OS'es #19

merged 13 commits into from
Jan 6, 2025

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.

1 participant