This repository has been archived by the owner on Feb 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Update schema to include python command #1
Labels
Comments
jcfr
added a commit
to scikit-build/scikit-ci
that referenced
this issue
Nov 3, 2016
It is now possible to specify python command as depicted in the example below. Note that the scikit-ci-schema still need to been updated to validate against python command. See scikit-build/scikit-ci-schema#1 ```yml test: commands: - python: print("single_line") - python: "for letter in ['a', 'b', 'c']: print(letter)" - python: | for index in range(3): with open("file_%s" % index, "w") as output: output.write("") ```
jcfr
added a commit
to scikit-build/scikit-ci
that referenced
this issue
Nov 3, 2016
It is now possible to specify python command as depicted in the example below. Note that the scikit-ci-schema still need to been updated to validate against python command. See scikit-build/scikit-ci-schema#1 ```yml test: commands: - python: print("single_line") - python: "for letter in ['a', 'b', 'c']: print(letter)" - python: | for index in range(3): with open("file_%s" % index, "w") as output: output.write("") ```
jcfr
added a commit
to scikit-build/scikit-ci
that referenced
this issue
Nov 3, 2016
It is now possible to specify python command as depicted in the example below. Note that the scikit-ci-schema still need to been updated to validate against python command. See scikit-build/scikit-ci-schema#1 ```yml test: commands: - python: print("single_line") - python: "for letter in ['a', 'b', 'c']: print(letter)" - python: | for index in range(3): with open("file_%s" % index, "w") as output: output.write("") ```
jcfr
added a commit
to scikit-build/scikit-ci
that referenced
this issue
Nov 3, 2016
It is now possible to specify python command as depicted in the example below. Note that the scikit-ci-schema still need to been updated to validate against python command. See scikit-build/scikit-ci-schema#1 ```yml test: commands: - python: print("single_line") - python: "for letter in ['a', 'b', 'c']: print(letter)" - python: | for index in range(3): with open("file_%s" % index, "w") as output: output.write("") ```
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Not that command can be specified using a language (e.g python), the schema will have to be updated.
The good news is that this change is backward compatible.
The bad news is that we will have to workaround the following limitations:
pykwalify
(functionality similar toanchor & alias
) doesn't work with mapping (Partial schema issue when used with mapping Grokzen/pykwalify#71)The text was updated successfully, but these errors were encountered: