benfogle / crossenv

Cross-compiling virtualenv for Python
MIT License
108 stars 22 forks source link

Upgrade to PEP 621, and add GitHub Actions configuration #118

Open freakboy3742 opened 1 week ago

freakboy3742 commented 1 week ago

Stemming from #117, this PR attempts to restore CI configuration, independent of any other changes.

It upgrades the project configuration to PEP 621 format (i.e., pyproject.toml). A pyproject.toml file with a PEP517 configuration is required to avoid warnings (and, in the very near future installation errors); migrating the rest of the configuration was relatively trivial.

It adds a tox configuration to make it easier to run tests for multiple Python versions; and adds a GitHub Actions configuration to invoke that tox configuration across a matrix of Python versions.

Coverage reporting is done in the build, and a HTML report is uploaded as a build artefact.

freakboy3742 commented 1 week ago

@benfogle FYI - it's difficult to finalize this PR until GitHub Actions are actually running. I think this is everything that is needed, but I think actions won't actually run until there's at least a stub actions configuration in the main branch.