Skip to content

Commit 92a9213

Browse files
refactor: remove invalid test configuration and update license year
1 parent 5924947 commit 92a9213

File tree

3 files changed

+2
-45
lines changed

3 files changed

+2
-45
lines changed

.github/workflows/Action-Test.yml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -33,26 +33,6 @@ jobs:
3333
with:
3434
SettingsPath: './tests/scenarios/valid/PSModule.yml'
3535

36-
- name: Verify Action Succeeded
37-
shell: pwsh
38-
env:
39-
SETTINGS_JSON: ${{ steps.get-settings.outputs.Settings }}
40-
run: |
41-
if ([string]::IsNullOrEmpty($env:SETTINGS_JSON)) {
42-
Write-Error 'Action failed to produce settings output'
43-
exit 1
44-
}
45-
Write-Host '✓ Action executed successfully and produced valid output'
46-
47-
# Verify the output is valid JSON
48-
try {
49-
$settings = $env:SETTINGS_JSON | ConvertFrom-Json
50-
Write-Host "✓ Settings output is valid JSON with Name: $($settings.Name)"
51-
} catch {
52-
Write-Error "Settings output is not valid JSON: $_"
53-
exit 1
54-
}
55-
5636
ActionTestInvalidMissingTestConfig:
5737
name: Action-Test - [Invalid - Missing Test Config]
5838
runs-on: ubuntu-latest
@@ -68,7 +48,7 @@ jobs:
6848
continue-on-error: true
6949
uses: ./
7050
with:
71-
SettingsPath: './tests/scenarios/invalid-missing-test-config/PSModule.yml'
51+
SettingsPath: './tests/scenarios/invalid-percent-target/PSModule.yml'
7252

7353
- name: Verify Action Failed as Expected
7454
shell: pwsh

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 PSModule
3+
Copyright (c) 2026 PSModule
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

tests/scenarios/invalid-missing-test-config/PSModule.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)