scientific-python/Reverse dependency testing
A GitHub Action to run tests of downstream packages
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| package_name | Upstream package name used to create reverse dependency tree. | yes | — |
| ignore | List of packages to be excluded from testing. For multiple packages, separate using spaces or use multiline syntax: ```yml ignore: package1 package2 # or ignore: >- package1 package2 ``` | no | — |
| whitelist | Whitelist of packages to be included in testing. When specified, `ignore` is not used. The resulting set of packages to be tested is an overlap between those in the dependency tree and those defined in `whitelist`. If you want to define additional packages, use `include`. For multiple packages, separate using spaces or use multiline syntax: ```yml whitelist: package1 package2 # or whitelist: >- package1 package2 ``` | no | — |
| include | A list of additional packages not in the dependency tree to be tested. This is useful to test known downstream packages that have your package as an optional dependency hence will not show up in the dependency tree. For multiple packages, separate using spaces or use multiline syntax: ```yml include: package1 package2 # or include: >- package1 package2 ``` | no | — |
| env | Conda environment file to setup development environment allowing to build the package. | no | — |
| install | Additional packages to be installed to the environment. These are not tested unless they are in the dependency tree anyway. For multiple packages, separate using spaces or use multiline syntax: ```yml install: package1 package2 # or install: >- package1 package2 ``` | no | — |
| install_pip | Additional packages to be installed to the environment using pip. These are not tested unless they are in the dependency tree anyway. For multiple packages, separate using spaces or use multiline syntax: ```yml install_pip: package1 package2 # or install_pip: >- package1 package2 ``` | no | — |
| installation_command | A command used to install the package from the repository | no | pip install . |
| fail_on_failure | Fail the action if there is a failure in any of the tests. | no | true |
| xfail | List packages which can fail without failing the action. For multiple packages, separate using spaces or use multiline syntax: ```yml xfail: package1 package2 # or xfail: >- package1 package2 ``` | no | — |
| run | Command to run prior doing anything else within the micromamba docker. | no | — |
| python_version | Python version to use by default | no | 3.11 |
| parallel | Run tests in parallel using pytest-xdist. | no | true |
| verbose | Use verbose mode when running individual test suites. | no | false |
Outputs
no outputs