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

Comprehensive test/deploy caller #57

Open
alecandido opened this issue Feb 29, 2024 · 1 comment
Open

Comprehensive test/deploy caller #57

alecandido opened this issue Feb 29, 2024 · 1 comment

Comments

@alecandido
Copy link
Member

alecandido commented Feb 29, 2024

It seems to me that it would be better to not test on many platforms with poetry install, but rather to generate a wheel on a single one and pip install it, in order to have the same dependency resolution as my users.

python-poetry/poetry#7746 (comment)

@alecandido
Copy link
Member Author

alecandido commented Feb 29, 2024

The idea would be to have the test workflow in the actual repositories with four jobs:

analysis:
  description: |
    basic checks
    if this does not pass, no need to do anything else

wheels:
  description: |
     package wheels for all the platforms
     upload them as an artifact

test:
  requires: [analysis, wheels]
  description: |
    download wheels, install with pip, and run the actual tests
    publish coverage

deploy:
  requires: test
  if: release
  description: |
    download all the wheels and upload to PyPI

After designing it, a template will be provided in the docs.

@alecandido alecandido changed the title Avoid Poetry for testing Comprehensive test/deploy caller Feb 29, 2024
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

No branches or pull requests

1 participant