Add a minimal example

This commit is contained in:
jack1142
2022-08-17 15:48:01 +02:00
committed by Jakub Kuczys
parent 67071395fa
commit 2812f8b588
3 changed files with 94 additions and 0 deletions
+10
View File
@@ -73,6 +73,16 @@ cibuildwheel to run tests, add the following YAML to your CI config file:
CIBW_TEST_COMMAND: "pytest {project}/tests"
```
!!! tab "Cirrus CI"
> .cirrus.yml ([docs](https://cirrus-ci.org/guide/writing-tasks/#environment-variables))
```yaml
env:
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: "pytest {project}/tests"
```
### Configuration file {: #configuration-file}
You can configure cibuildwheel with a config file, such as `pyproject.toml`.