Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ jobs:
python3 -m cibuildwheel .
# "/project" is the project path inside the cibuildwheel container itself

- run:
name: move tests results out of the wheelhouse
command: mv wheelhouse/test-results ./

- store_test_results:
path: test-results/

- store_artifacts:
path: wheelhouse/

Expand Down
14 changes: 7 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ write_to = "schema_salad/_version.py"

[tool.cibuildwheel]
before-build = "python -m pip install -r requirements.txt -r mypy-requirements.txt"
test-command = "python -m pytest -n 2 --pyargs schema_salad"
test-requires = "-r test-requirements.txt black"
skip = "pp* "
# ^ skip building wheels on pypy
test-skip = "cp*"
# ^ tests skipped to save time
#build-verbosity = "1"
test-command = "python -m pytest -n 2 --junitxml=/output/test-results/junit_$(python -V | awk '{print $2}')_${AUDITWHEEL_PLAT}.xml --pyargs schema_salad"
test-requires = "-r test-requirements.txt"
test-extras = "pycodegen"
skip = "pp* cp311-*"
# ^ skip building wheels on PyPy (any version)
# and CPython 3.11 (mypyc doesn't support Python 3.11)
build-verbosity = "1"
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,18 +125,25 @@
"metaschema/*",
"py.typed",
"dotnet/*",
"dotnet/*/*",
"dotnet/*/*/*",
"java/*",
"java/*/*",
"typescript/*",
"typescript/*/*",
"typescript/*/*/*",
"typescript/.*",
],
"schema_salad.tests": [
"*.json",
"*.yml",
"docimp/*",
"*.owl",
"*.cwl",
"*.txt",
"foreign/*.cwl",
"test_real_cwl/*",
"test_real_cwl/*/*",
"test_schema/*",
],
},
Expand Down