Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

CI on Windows #120

Merged
merged 12 commits into from
Aug 13, 2019
Merged

CI on Windows #120

merged 12 commits into from
Aug 13, 2019

Conversation

Alexander-Makaryev
Copy link
Contributor

Created a configuration for CI on Windows with Azure Pipeline.
Example of run can be seen on this branch.

@Alexander-Makaryev
Copy link
Contributor Author

Last commit - it is not new fail, I just missed one while marked them.

@@ -1,4 +1,5 @@
import unittest
import sys
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead of sys.platform use platform.system(). This value is more predictable.

Copy link
Contributor

Choose a reason for hiding this comment

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

@dmitrii-zagornyi Good catch!
"The output of sys.platform and os.name are determined at compile time. platform.system() determines the system type at run time."
https://stackoverflow.com/a/11674977/4428424

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@shssf shssf merged commit f45bea6 into master Aug 13, 2019
@shssf shssf deleted the feature/ci-win branch August 13, 2019 20:27
kozlov-alexey pushed a commit to kozlov-alexey/sdc that referenced this pull request Oct 4, 2019
* added .yml for azure pipelines

* skipped tests with errors on windows

* added import sys

* one more skipped test on Windows

* using\ platform instead sys for Windows determaining

* timeoutInMinutes: 0

* skipped 3 additional tests after merge changes from master

* added import platform
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants