Merge pull request #1191 from jack1142/add_cirrus_ci_support

Add support for Cirrus CI
This commit is contained in:
Joe Rickerby
2022-08-30 22:08:46 +01:00
committed by GitHub
19 changed files with 217 additions and 22 deletions
+10
View File
@@ -75,6 +75,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`.