Skip to content

ci: Add github workflows#1

Merged
183amir merged 2 commits intomainfrom
ci
Jul 9, 2024
Merged

ci: Add github workflows#1
183amir merged 2 commits intomainfrom
ci

Conversation

@183amir
Copy link
Copy Markdown
Collaborator

@183amir 183amir commented Jul 8, 2024

Use pixi to run doc build and tests.
Use pre-commit action to run qa.
Use pypi action to handle release.
Use a readthedocs workflow to build a preview for docs in a PR.
Use dependabot to keep things updated.
Add coverage reports.
Update gitlab urls to github
Add a conventional-pre-commit hook
Create a COPYING file to indicate the license to Github interface
Cleanup pixi settings.


📚 Documentation preview 📚: https://gridtk--1.org.readthedocs.build/en/1/

Deleting the job manager when the cli finishes explicitly avoids random issues in the tests when the cli is called repeatedly.
@183amir 183amir closed this Jul 8, 2024
@183amir 183amir reopened this Jul 8, 2024
@183amir 183amir changed the title Add github workflows based on pixi ci: Add github workflows Jul 8, 2024
@183amir 183amir requested a review from Yannick-Dayer July 8, 2024 19:35
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jul 8, 2024

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  src/gridtk
  cli.py
  manager.py
Project Total  

This report was generated by python-coverage-comment-action

Copy link
Copy Markdown
Member

@Yannick-Dayer Yannick-Dayer left a comment

Choose a reason for hiding this comment

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

Nice! Not much to say except that leftover comment.

I am working on the workflows of clapper and auto-intersphinx. I might use your pixi workflow there, if you don't mind.

@Yannick-Dayer
Copy link
Copy Markdown
Member

I'm getting a 404 error on https://gridtk--1.org.readthedocs.build/en/1/. We might need to enable previews on readthedocs?

@183amir
Copy link
Copy Markdown
Collaborator Author

183amir commented Jul 9, 2024

I'm getting a 404 error on https://gridtk--1.org.readthedocs.build/en/1/. We might need to enable previews on readthedocs?

The webhooks are not there and I don't have enough permissions to edit the settings of this repo: https://docs.readthedocs.io/en/stable/guides/pull-requests.html#troubleshooting

Use pixi to run doc build and tests.
Use pre-commit action to run qa.
Use pypi action to handle release.
Use a readthedocs workflow to build a preview for docs in a PR.
Use dependabot to keep things updated.
Update gitlab urls to github
Add a conventional-pre-commit hook
Create a COPYING file to indicate the license to Github interface
Cleanup pixi settings.
Add coverage reports
Fix coverage badge based on that

Co-authored-by: Yannick-Dayer <60428834+Yannick-Dayer@users.noreply.github.com>
@183amir 183amir merged commit fae63f8 into main Jul 9, 2024
@183amir 183amir deleted the ci branch July 9, 2024 07:51
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