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

ci: Modularize CI pipeline and test Python >= 3.11 #402

Merged
merged 3 commits into from
Oct 3, 2024

Conversation

thomass-dev
Copy link
Collaborator

@thomass-dev thomass-dev commented Sep 26, 2024

  • Remove reference of Makefile in workflow's instructions to build front-end
  • Use matrix to test back-end on all versions of python >=3.9 (only success on 3.12 is mandatory)
  • Trigger CI tasks at job level instead of workflow level
  • Use one and only entry-point to define if pipeline succeed ci-all-green

Example: https://github.com/probabl-ai/skore/actions/runs/11146672648

image

@thomass-dev thomass-dev marked this pull request as draft September 26, 2024 12:40
@thomass-dev thomass-dev changed the title Show backend coverage as PR comment Create CI workflow to test skore on all versions of python >=3.9 Sep 26, 2024
@probabl-ai probabl-ai deleted a comment from github-actions bot Sep 26, 2024
@thomass-dev thomass-dev linked an issue Sep 26, 2024 that may be closed by this pull request
@thomass-dev thomass-dev changed the title Create CI workflow to test skore on all versions of python >=3.9 Create CI workflow to test skore on all versions of python >=3.9 Sep 26, 2024
@thomass-dev thomass-dev reopened this Sep 26, 2024
@thomass-dev thomass-dev force-pushed the backend-coverage branch 9 times, most recently from 11782ad to a5876f5 Compare September 26, 2024 14:04
@thomass-dev thomass-dev marked this pull request as ready for review September 26, 2024 14:07
@thomass-dev thomass-dev force-pushed the backend-coverage branch 3 times, most recently from 44379a2 to 894569a Compare September 26, 2024 14:30
@thomass-dev thomass-dev marked this pull request as draft September 26, 2024 14:38
@thomass-dev thomass-dev force-pushed the backend-coverage branch 6 times, most recently from 165f804 to 1eac11e Compare September 27, 2024 09:53
@thomass-dev thomass-dev requested a review from rouk1 September 27, 2024 11:20
rouk1
rouk1 previously approved these changes Sep 27, 2024
Copy link
Contributor

@rouk1 rouk1 left a comment

Choose a reason for hiding this comment

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

I strongly disapprove ^^

@thomass-dev thomass-dev marked this pull request as draft September 27, 2024 11:38
@thomass-dev thomass-dev requested a review from rouk1 September 27, 2024 11:38
@thomass-dev thomass-dev marked this pull request as ready for review September 27, 2024 13:18
@thomass-dev thomass-dev changed the title Create CI workflow to test skore on all versions of python >=3.9 ci: Create CI workflow to test skore on all versions of python >=3.9 Sep 30, 2024
@augustebaum
Copy link
Contributor

CI cache and the Makefile refactor are both important changes that are less controversial; could you open a separate PR for them?

@thomass-dev thomass-dev marked this pull request as draft September 30, 2024 12:02
@thomass-dev thomass-dev force-pushed the backend-coverage branch 5 times, most recently from 0636409 to 81399db Compare October 2, 2024 14:45
@thomass-dev thomass-dev marked this pull request as ready for review October 2, 2024 15:31
augustebaum
augustebaum previously approved these changes Oct 3, 2024
Copy link
Contributor

@augustebaum augustebaum left a comment

Choose a reason for hiding this comment

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

Alright, the split of the workflows is great and ready to be merged.

One last thing is we want everything to be all green, all the time. Hence, we'll add back the Python 3.9 and 3.10 workflows when we actually address #390

@augustebaum augustebaum changed the title ci: Create CI workflow to test skore on all versions of python >=3.9 ci: Modularize CI pipeline Oct 3, 2024
@augustebaum augustebaum changed the title ci: Modularize CI pipeline ci: Modularize CI pipeline and test Python >= 3.11 Oct 3, 2024
@augustebaum augustebaum merged commit 9880d1e into main Oct 3, 2024
12 checks passed
@augustebaum augustebaum deleted the backend-coverage branch October 3, 2024 09:51
@thomass-dev thomass-dev linked an issue Oct 11, 2024 that may be closed by this pull request
thomass-dev added a commit that referenced this pull request Dec 2, 2024
- Remove reference of `Makefile` in workflow's instructions to build
front-end
- Use matrix to test back-end on all versions of python `>=3.11`
- Trigger CI tasks at job level instead of workflow level
- Use one and only entry-point to define if pipeline succeed
`ci-all-green`

---

Example: https://github.com/probabl-ai/skore/actions/runs/11146672648


![image](https://github.com/user-attachments/assets/294b9b89-0e86-43ae-a432-320d1ece016f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants