openwallet-foundation / acapy

ACA-Py is a foundation for building decentralized identity applications and services running in non-mobile environments.
https://aca-py.org
Apache License 2.0
419 stars 512 forks source link

Only run the integration test suite on source code or testing changes. #3207

Closed jamshale closed 2 months ago

jamshale commented 2 months ago

There's sometimes PR's opened which don't require integration testing. Such as changing docs. We can use the tj-actions/changed-files@v45 action to check which files changes and only run the tests if there is changes in the aries_cloudagent subdirectory.

For the ACA-Py specific BDD tests they use the demo agent so they should also be run on any demo subdirectory changes or docker subdirectory changes.

For the Scenario testing they should be run if there's any changes in the scenario subdirectory, and they also use the Dockerfile in the docker directory and should be run if there's changes to that file.