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

Chore/update actions #255

Merged
merged 8 commits into from
Jul 12, 2024
Merged

Chore/update actions #255

merged 8 commits into from
Jul 12, 2024

Conversation

KevinFabre-ods
Copy link
Contributor

@KevinFabre-ods KevinFabre-ods commented Jul 8, 2024

Summary

The goal for this PR is to update version of github actions we used in our CI.
Currently we have warnings about incompatible Node version requirement

Before
image

After

image


image

Also

(Internal for Opendatasoft only) Associated Shortcut ticket: 🏴‍☠️

Copy link

github-actions bot commented Jul 9, 2024

Coverage after merging chore/update-actions into main will be

94.64%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   index.ts100%100%100%100%
src/client
   error.ts100%100%100%100%
   index.ts84.14%74.03%100%95.31%102–103, 124, 13, 146, 148, 148–149, 15, 15, 151, 162, 169, 169, 17, 17, 171, 176, 179, 182, 184, 52, 82
   types.ts100%100%100%100%
src/odsql
   clauses.ts82.61%71.43%80%90.91%14, 32, 42
   index.ts92.05%83.72%95.74%94.19%111, 146, 25, 28, 56–57, 57, 57–58, 68, 78–79

1 similar comment
Copy link

github-actions bot commented Jul 9, 2024

Coverage after merging chore/update-actions into main will be

94.64%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   index.ts100%100%100%100%
src/client
   error.ts100%100%100%100%
   index.ts84.14%74.03%100%95.31%102–103, 124, 13, 146, 148, 148–149, 15, 15, 151, 162, 169, 169, 17, 17, 171, 176, 179, 182, 184, 52, 82
   types.ts100%100%100%100%
src/odsql
   clauses.ts82.61%71.43%80%90.91%14, 32, 42
   index.ts92.05%83.72%95.74%94.19%111, 146, 25, 28, 56–57, 57, 57–58, 68, 78–79

@KevinFabre-ods
Copy link
Contributor Author

@etienneburdet Should we remove the Node matrix for the api-client action?
What the point of having twice (#255 (comment) & #255 (comment)) the coverage message?

Copy link
Contributor

@etienneburdet etienneburdet left a comment

Choose a reason for hiding this comment

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

LGTM, that was needed indeed!

I'm OK with moving to node 20.x rather than matrix. As for the code coverage, at the very least I would remove the matrix indeed. Why not removing it all together: we're not really using it. Or if we keep it, actually use it accross all the repo and our workflow.

@KevinFabre-ods
Copy link
Contributor Author

LGTM, that was needed indeed!

I'm OK with moving to node 20.x rather than matrix. As for the code coverage, at the very least I would remove the matrix indeed. Why not removing it all together: we're not really using it. Or if we keep it, actually use it accross all the repo and our workflow.

api-client package is very independent of the two others. Why not keep it, it can help to check that new code has a code coverage. But, it's true that we not are really using it.

Having the same mechanism for the visualization packages can't work.
Code coverage for visualizations-react would means nothing as all logic is in visualizations (unless there is a way to get code coverage of a dependency)

Copy link

Coverage after merging chore/update-actions into main will be

94.64%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   index.ts100%100%100%100%
src/client
   error.ts100%100%100%100%
   index.ts84.14%74.03%100%95.31%102–103, 124, 13, 146, 148, 148–149, 15, 15, 151, 162, 169, 169, 17, 17, 171, 176, 179, 182, 184, 52, 82
   types.ts100%100%100%100%
src/odsql
   clauses.ts82.61%71.43%80%90.91%14, 32, 42
   index.ts92.05%83.72%95.74%94.19%111, 146, 25, 28, 56–57, 57, 57–58, 68, 78–79

@KevinFabre-ods KevinFabre-ods merged commit 2f2b663 into main Jul 12, 2024
6 of 8 checks passed
@KevinFabre-ods KevinFabre-ods deleted the chore/update-actions branch July 12, 2024 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants