Skip to content
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

Migrate Python tests to GitHub actions #4315

Conversation

VIKTORVAV99
Copy link
Member

@VIKTORVAV99 VIKTORVAV99 commented Jul 1, 2022

Most of this PR is a direct port of the CircleCI job but I have added review comments for the changes that are not straight forward so please have a look at those.

@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Jul 1, 2022
@VIKTORVAV99 VIKTORVAV99 removed the dependencies Pull requests that update a dependency file label Jul 1, 2022
@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Jul 2, 2022
@VIKTORVAV99 VIKTORVAV99 removed the dependencies Pull requests that update a dependency file label Jul 2, 2022
@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Jul 2, 2022
pyproject.toml Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
@VIKTORVAV99 VIKTORVAV99 marked this pull request as ready for review July 2, 2022 18:39
@VIKTORVAV99 VIKTORVAV99 removed the dependencies Pull requests that update a dependency file label Jul 2, 2022
@Kongkille
Copy link
Contributor

Any thoughts here @FelixDQ?

Copy link
Member

@FelixDQ FelixDQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool! Should this PR also remove the .circleci job then?

.github/workflows/python.yml Show resolved Hide resolved
@VIKTORVAV99
Copy link
Member Author

Cool! Should this PR also remove the .circleci job then?

It could but the new CI jobs aren't marked as required yet so I have held off on doing that for now.

I think it's best to merge these, let them run for a little while to make sure it's consistent then mark them as required and remove the circleCI jobs once we have the same functionality.

(the last job to migrate is the web build job)

@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Jul 8, 2022
@VIKTORVAV99 VIKTORVAV99 removed the dependencies Pull requests that update a dependency file label Jul 8, 2022
@VIKTORVAV99
Copy link
Member Author

@FelixDQ made the changes you requested, there should be nothing blocking this now. 🙂

@VIKTORVAV99 VIKTORVAV99 merged commit ba587bd into electricitymaps:master Jul 11, 2022
@VIKTORVAV99 VIKTORVAV99 deleted the migrate_python_tests_to_github_actions branch July 13, 2022 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants