mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
CI: Move universe validation to validate job (#12406)
* CI: Move universe validation to validate job * Fix indentation * Update step name
This commit is contained in:
parent
3c999f052e
commit
8ff9073161
6
.github/azure-steps.yml
vendored
6
.github/azure-steps.yml
vendored
|
@ -116,9 +116,3 @@ steps:
|
||||||
python -m pytest --pyargs spacy
|
python -m pytest --pyargs spacy
|
||||||
displayName: "Run CPU tests with thinc-apple-ops"
|
displayName: "Run CPU tests with thinc-apple-ops"
|
||||||
condition: and(startsWith(variables['imageName'], 'macos'), eq(variables['python.version'], '3.11'))
|
condition: and(startsWith(variables['imageName'], 'macos'), eq(variables['python.version'], '3.11'))
|
||||||
|
|
||||||
- script: |
|
|
||||||
python .github/validate_universe_json.py website/meta/universe.json
|
|
||||||
displayName: 'Test website/meta/universe.json'
|
|
||||||
condition: eq(variables['python_version'], '3.8')
|
|
||||||
|
|
||||||
|
|
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
|
@ -58,6 +58,9 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
python -m pip install flake8==5.0.4
|
python -m pip install flake8==5.0.4
|
||||||
python -m flake8 spacy --count --select=E901,E999,F821,F822,F823,W605 --show-source --statistics
|
python -m flake8 spacy --count --select=E901,E999,F821,F822,F823,W605 --show-source --statistics
|
||||||
|
- name: Validate website/meta/universe.json
|
||||||
|
run: |
|
||||||
|
python .github/validate_universe_json.py website/meta/universe.json
|
||||||
tests:
|
tests:
|
||||||
name: Test
|
name: Test
|
||||||
needs: Validate
|
needs: Validate
|
||||||
|
@ -188,8 +191,3 @@ jobs:
|
||||||
python -m pip install 'spacy[apple]'
|
python -m pip install 'spacy[apple]'
|
||||||
python -m pytest --pyargs spacy
|
python -m pytest --pyargs spacy
|
||||||
if: startsWith(matrix.os, 'macos') && matrix.python_version == '3.8'
|
if: startsWith(matrix.os, 'macos') && matrix.python_version == '3.8'
|
||||||
|
|
||||||
- run: |
|
|
||||||
python .github/validate_universe_json.py website/meta/universe.json
|
|
||||||
name: "Test website/meta/universe.json"
|
|
||||||
if: matrix.python_version == '3.8'
|
|
||||||
|
|
|
@ -48,6 +48,9 @@ jobs:
|
||||||
pip install flake8==5.0.4
|
pip install flake8==5.0.4
|
||||||
python -m flake8 spacy --count --select=E901,E999,F821,F822,F823,W605 --show-source --statistics
|
python -m flake8 spacy --count --select=E901,E999,F821,F822,F823,W605 --show-source --statistics
|
||||||
displayName: "flake8"
|
displayName: "flake8"
|
||||||
|
- script: |
|
||||||
|
python .github/validate_universe_json.py website/meta/universe.json
|
||||||
|
displayName: 'Validate website/meta/universe.json'
|
||||||
|
|
||||||
- job: "Test"
|
- job: "Test"
|
||||||
dependsOn: "Validate"
|
dependsOn: "Validate"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user