Skip to content

Commit

Permalink
The right field name is platforms, not platform (#16063)
Browse files Browse the repository at this point in the history
* The right field name is `platforms`, not `platform`

* Add changelog
  • Loading branch information
alopezz authored Oct 20, 2023
1 parent af01af0 commit 72eb55a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ddev/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
***Fixed***:

* Fix `ddev env test` so that tests run for all environments properly when no environment is specified ([#16054](https://github.com/DataDog/integrations-core/pull/16054))
* Fix e2e test env detection to use `platforms`, not `platform` ([#16063](https://github.com/DataDog/integrations-core/pull/16063))
* Include ddev's source code when measuring its coverage ([#16057](https://github.com/DataDog/integrations-core/pull/16057))
* Fix Github API search query ([#15943](https://github.com/DataDog/integrations-core/pull/15943))

Expand Down
2 changes: 1 addition & 1 deletion ddev/src/ddev/cli/env/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def test_command(
name
for name, data in environments.items()
if data.get('e2e-env')
and (not data.get('platform') or app.platform.name in data['platform'])
and (not data.get('platforms') or app.platform.name in data['platforms'])
and (python_filter is None or data.get('python') == python_filter)
]
elif environment == 'active':
Expand Down

0 comments on commit 72eb55a

Please sign in to comment.