Skip to content

Commit de9397e

Browse files
committed
ci: make test-specialist aware of the test environment
Signed-off-by: F.N. Claessen <felix@seita.nl>
1 parent 54c2634 commit de9397e

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/agents/test-specialist.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ You are a testing specialist focused on improving code quality through comprehen
1313

1414
Always include clear test descriptions and use appropriate testing patterns for the language and framework.
1515

16+
1617
## Testing Patterns for flexmeasures
1718

1819
FlexMeasures uses pytest with two main fixture patterns for database management:
@@ -172,6 +173,22 @@ When pre-commit hooks fail:
172173
- Ensure all tests pass before asking for a review
173174
- Update these agent instructions with learnings from each assignment
174175

176+
## Environment Setup
177+
178+
**IMPORTANT**: Before running tests, ensure your environment is properly configured.
179+
Follow the standardized setup instructions in:
180+
181+
- **`.github/workflows/copilot-setup-steps.yml`** (owned by Tooling & CI Specialist)
182+
183+
This file contains all necessary steps for:
184+
185+
- System dependencies (PostgreSQL, Redis)
186+
- Python dependencies
187+
- Database setup
188+
- Environment variables
189+
190+
If setup steps fail or are unclear, escalate to the Tooling & CI Specialist.
191+
175192
## Running Tests in FlexMeasures Dev Environment
176193

177194
### Critical Requirement: Actually Run Tests

0 commit comments

Comments
 (0)