Skip to content

Commit 43b8e03

Browse files
committed
2nd attempt for fix
1 parent 01476d5 commit 43b8e03

4 files changed

Lines changed: 15 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
- name: Run automated fixture tests
137137
run: |
138138
echo "Running automated fixture validation..."
139-
./dist/tests/run-fixture-tests.sh
139+
cd dist && ./tests/run-fixture-tests.sh
140140
141141
- name: Test antipatterns detection (legacy check)
142142
run: |

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2020
- `http-no-timeout.php`: 0 errors, 1 warning (was 4 warnings)
2121
- **Impact:** Test suite now accurately validates pattern detection and prevents regressions
2222

23+
- **GitHub Actions** - Fixed CI workflow to run tests from correct directory
24+
- Changed test execution to run from `dist/` directory: `cd dist && ./tests/run-fixture-tests.sh`
25+
- Fixes "command not found" errors when running tests in CI environment
26+
- **Impact:** CI tests now run successfully on pull requests
27+
2328
### Changed
2429
- **Documentation** - Enhanced `dist/TEMPLATES/README.md` with context and background
2530
- Added "What Are Templates?" section explaining the concept and purpose
@@ -28,6 +33,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2833
- Added location context at the top (`dist/TEMPLATES/` in your WP Code Check installation)
2934
- **Impact:** New users can now understand templates immediately without reading the entire guide
3035

36+
### Removed
37+
- **GitHub Workflows** - Removed `.github/workflows/example-caller.yml` template file
38+
- This was a documentation-only template file that never ran automatically
39+
- Example usage is already documented in README and other documentation
40+
- **Impact:** Cleaner workflows directory with only active files (`ci.yml` and `wp-performance.yml`)
41+
3142
## [1.2.0] - 2026-01-09
3243

3344
### Added

dist/PATTERN-LIBRARY.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"version": "1.0.0",
3-
"generated": "2026-01-10T04:06:54Z",
3+
"generated": "2026-01-10T04:15:12Z",
44
"summary": {
55
"total_patterns": 29,
66
"enabled": 29,

dist/PATTERN-LIBRARY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Pattern Library Registry
22

33
**Auto-generated by Pattern Library Manager**
4-
**Last Updated:** 2026-01-10 04:06:54 UTC
4+
**Last Updated:** 2026-01-10 04:15:12 UTC
55

66
---
77

@@ -117,6 +117,6 @@
117117

118118
---
119119

120-
**Generated:** 2026-01-10 04:06:54 UTC
120+
**Generated:** 2026-01-10 04:15:12 UTC
121121
**Version:** 1.0.0
122122
**Tool:** Pattern Library Manager

0 commit comments

Comments
 (0)