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: Add github workflows #1

Merged
merged 2 commits into from
Jul 9, 2024
Merged

ci: Add github workflows #1

merged 2 commits into from
Jul 9, 2024

Conversation

183amir
Copy link
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
Copy link

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
Contributor

@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.

.github/workflows/publish-pypi.yml Outdated Show resolved Hide resolved
@Yannick-Dayer
Copy link
Contributor

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
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 <[email protected]>
@183amir 183amir merged commit fae63f8 into main Jul 9, 2024
5 checks passed
@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