-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change CI from travis-ci to Github Actions (or other) #867
Comments
Examples of CI review for the apstools project: https://github.com/BCDA-APS/apstools/actions |
I'll setup a CI workflow using a conda environment. We can change that to a simpler (faster) python/pip setup later, if desired. |
Could run the testing faster following this page: https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-python#starting-with-the-python-workflow-template Our setup is minimal. The conda tooling is not in use by all, we should test on lowest common denominator when possible. |
We should change the code run by
so that it can be run by proper unit testing code, such as
|
NOTE: With conda, tests take about 5 minutes to complete. |
There is a change in the pricing model of the continuous integration service we use to check our repository for syntax errors. By the end of the year, we will run out of free credit to use this service.
There exist many possible replacements for this service, some free, some not. One of the easiest to use is Github Actions, where the testing workflow is described in a YAML file and stored in the repo in a special directory. Here's an example: https://github.com/BCDA-APS/apstools/blob/master/.github/workflows/unit-tests-pytest.yml
These are the steps:
The text was updated successfully, but these errors were encountered: