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

Add github actions CI #487

Merged
merged 22 commits into from
Mar 28, 2024
Merged

Add github actions CI #487

merged 22 commits into from
Mar 28, 2024

Conversation

moble
Copy link
Member

@moble moble commented Aug 11, 2023

This PR attempts to replicate the CircleCI workflow (which is not working as of this writing) in github actions. It also removes references to CircleCI.

It also fixes a few minor things I needed to do to get the tests to pass:

  • Replace the now-deprecated getargspec with getfullargspec in galgebra/lt.py
  • Set self.nargs = 0 in the branch following the getargspec usage, so that it's not referring to a non-existent variable
  • Fix an if statement in galgebra/mv.py so the linter doesn't choke
  • Fix the python_requires syntax in setup.py

This is one half of the split version of #486. The other half is a branch on my fork https://github.com/moble/galgebra/tree/jupyterlite, which starts relative to this PR's first commit; I'll make it into a PR once this is merged.

galgebra/lt.py Outdated Show resolved Hide resolved
* Streamline matrix to avoid old special cases
* Skip archiving flake8 output, because it is now in stdout
* Skip archiving pytest output, because it appears in stdout
* Temporarily run on pushes to any branch
@moble moble marked this pull request as draft August 14, 2023 18:26
@moble moble marked this pull request as ready for review August 14, 2023 18:37
@moble moble requested a review from eric-wieser August 14, 2023 18:39
@moble
Copy link
Member Author

moble commented Aug 14, 2023

Okay, I believe I've addressed the comments above.

The tests passed here.

@utensil
Copy link
Member

utensil commented Aug 15, 2023

Why is the doc build failed?

Other than this and the need to resolve the conflict, all LGTM.

@moble
Copy link
Member Author

moble commented Aug 15, 2023

Why is the doc build failed?

Looks like we were one of the lucky few to hit a brownout requiring the new .readthedocs.yaml format. I'll try to update it.

@moble moble mentioned this pull request Aug 15, 2023
@utensil
Copy link
Member

utensil commented Mar 28, 2024

As everything looks good to me, and I wish to polish CI and bump Python etc. Merging this as the foundation. Thanks!

@utensil utensil merged commit 225e994 into pygae:master Mar 28, 2024
@utensil utensil mentioned this pull request Mar 30, 2024
@utensil utensil added this to the 0.5.1 milestone Mar 30, 2024
@utensil utensil added the state: needs changelog Needs a changelog entry before the next release. Remove this label when the changelog is done. label Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: needs changelog Needs a changelog entry before the next release. Remove this label when the changelog is done.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants