aries-cloudagent-python icon indicating copy to clipboard operation
aries-cloudagent-python copied to clipboard

Manage integration tests with GitHub Actions (#2952)

Open jamshale opened this issue 1 year ago • 1 comments

This changes automatic integration testing to have two levels. One will be run on PR's @PR and another to run once daily, manually triggered or during release PR's @Release. Each test takes, on average, just over one minute. The PR tests were scoped down slightly to 35 tests. Which take ~40 minutes. Most of the tests not running on PR's are doing mediation and multi-tenancy tests on basic connection and issuance tests, because they should be covered by the revocation tests. Also some issuance tests were basically being covered twice.

I'm very open to scoping these PR tests even further down. Right now the connections tests are testing a lot of different configurations and this might be unlikely to be effected by many PR's. Also the endorsement tests are a bit flakier than other tests and might not be needed for PR's.

Basically we should only have a bare minimum of tests on PR's because any problems should be noticed via the daily tests and the release tests. If testing all the different connection configurations wasn't needed for PR's we might be able to get this down to 20 tests (~20mins).

There is 62 tests for the Release tag. Increased slight from the old GHA tag. Added a TODO tag to a couple failing tests.

jamshale avatar May 27 '24 22:05 jamshale

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

sonarqubecloud[bot] avatar May 30 '24 16:05 sonarqubecloud[bot]

@ianco I rebased to fix a merge conflict and need re-approval, please.

jamshale avatar May 30 '24 17:05 jamshale