ARMmbed / htrun

MOVED: https://github.com/ARMmbed/mbed-os-tools (Flash, reset and run host supervised tests on mbed platforms)
8 stars 37 forks source link

Migrate Circle CI tests to Travis CI #199

Closed cmonr closed 5 years ago

cmonr commented 6 years ago

CircleCI has now been removed.

Tests that were running in it should be added and updated into Travis CI.

Reference: https://github.com/ARMmbed/htrun/issues/196

bridadan commented 6 years ago

@cmonr there isn't a circle ci config file in this repository, so I don't think it was running any extra tests that travis wasn't running. That's why I suggested just disabling Circle CI.

I don't have permissions, but if you look on the Circle CI config for this repo can you check to see if the test steps are specified there? [Mirrored to Jira]

cmonr commented 6 years ago

Ha, you're right.

Sure enough, the commands are in CircleCI settings. Coverage and pytest for the most part. [Mirrored to Jira]

bridadan commented 6 years ago

@cmonr can you post them here so we can compare them with the travis config? If there are any secret keys in there be sure to remove them first 😄 [Mirrored to Jira]

cmonr commented 6 years ago

Pre-dependency commands:

pip install coverage
pip install requests[security]
pip install python-coveralls

Post-test commands:

coverage run setup.py test
coverage report
coverage html
cp -r htmlcov $CIRCLE_ARTIFACTS/coverage

Not sure where this is kept, but it's run before the "Post-test commands":

python setup.py test

[Mirrored to Jira]

bridadan commented 6 years ago

Not sure where this is kept, but it's run before the "Post-test commands":

Looks like it's (mistakenly) separating test commands and coverage commands. Travis runs the same stuff so I think you're ok closing this 👍 [Mirrored to Jira]

adbridge commented 6 years ago

Internal Jira reference: https://jira.arm.com/browse/IOTCORE-227