Skip to content

Commit

Permalink
CONTRIBUTING: document use of the @group Windows annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Nov 13, 2024
1 parent 8aa04ea commit 37357be
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,13 @@ Example:
for
```

#### Tests covering code which has OS-specific behaviour

Most code in PHP_CodeSniffer is Operating System agnostic.
However, there are a few places which include OS-specific conditions, most notably for Windows.

Tests which cover code which have Windows specific conditions should be marked with a `@group Windows` annotation to allow for running those tests separately/selectively in CI.


### Submitting Your Pull Request

Expand Down

0 comments on commit 37357be

Please sign in to comment.