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

Try setting up CI for Python bindings tests #180

Merged
merged 6 commits into from
May 15, 2024
Merged

Try setting up CI for Python bindings tests #180

merged 6 commits into from
May 15, 2024

Conversation

sampsyo
Copy link
Collaborator

@sampsyo sampsyo commented May 15, 2024

Fortunately, Maturin can generate YAML for GitHub Actions. Let's see how this goes…

sampsyo added 6 commits May 15, 2024 14:53
This is the raw output of `maturin generate-ci github --pytest`, which
doubtless needs some work.
As the comment mentions, this is the result of:

    maturin generate-ci github --pytest -m flatgfa-py/Cargo.toml -o .github/workflows/flatgfa-py.yml
Currently, `macos-latest` is an ARM machine. We can build for both Intel and ARM on this machine, but we can only run the tests for the ARM version (because this Python is an ARM Python).
@sampsyo sampsyo marked this pull request as ready for review May 15, 2024 19:54
@sampsyo sampsyo mentioned this pull request May 15, 2024
10 tasks
@sampsyo
Copy link
Collaborator Author

sampsyo commented May 15, 2024

It took a little tweaking, but it works!

@sampsyo sampsyo merged commit f8580c7 into main May 15, 2024
12 checks passed
@sampsyo sampsyo deleted the flatgfa-py-ci branch May 15, 2024 19: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.

1 participant