Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] windows tests with appveyor #1730

Merged
merged 4 commits into from
Jun 30, 2015
Merged

[ci] windows tests with appveyor #1730

merged 4 commits into from
Jun 30, 2015

Conversation

degemer
Copy link
Member

@degemer degemer commented Jun 25, 2015

This PR adds a Windows-compatibility layer to our CI framework to be able to test Windows checks.
It also add tests for win32_event_log check.

See commits for more details.

@degemer degemer added this to the 5.5.0 milestone Jun 25, 2015
@degemer degemer force-pushed the quentin/appveyor branch 5 times, most recently from 26a55d5 to 08ac524 Compare June 26, 2015 15:32
# checks.d/wmi.py
# It's a pure python module, it doesn't require anything to install,
# but needs the pywin32 extension to work
wmi==1.4.9
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yannmh
Copy link
Member

yannmh commented Jun 29, 2015

Great PR !!! 👊 in Windows CI process.

🍰 for you Windows Powershell skills.

degemer added 4 commits June 30, 2015 16:33
All parameters are in `appveyor.yml`.
This CI use the exact same syntax/functions as Travis one.

To run tests only requiring the Windows OS, add two attributes,
`@attr('windows')` and `@attr(requires='windows')`, they will be picked by
`ci/windows.rb`.

Adding new flavors is exactly the same as Travis, but instead of updating the
`.travis.yml`, update `appveyor.yml`.

Also: install pywin32 (not done by default)
+ a fix for coverage tests. They were broken by a change introduced by service
metadata (all instances have at least an empty metadata). It's removed in tests
now.
- Add `wmi` to requirements-opt
- enable coverage report on Windows
Mainly for the download of pywin32
@degemer degemer force-pushed the quentin/appveyor branch from 08ac524 to 7aa35ce Compare June 30, 2015 20:33
@degemer degemer merged commit 7aa35ce into master Jun 30, 2015
@degemer degemer deleted the quentin/appveyor branch June 30, 2015 21:12
@degemer
Copy link
Member Author

degemer commented Jun 30, 2015

Thanks for the review ! I addressed your comments and merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants