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

Update schema to include python command #1

Open
jcfr opened this issue Nov 3, 2016 · 0 comments
Open

Update schema to include python command #1

jcfr opened this issue Nov 3, 2016 · 0 comments

Comments

@jcfr
Copy link
Contributor

jcfr commented Nov 3, 2016

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:

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.
Projects
None yet
Development

No branches or pull requests

1 participant