larryhastings / appeal

Command-line parsing library for Python 3.
Other
122 stars 7 forks source link

CI: use a nicer way to use pre-releases #12

Closed hynek closed 11 months ago

hynek commented 11 months ago

This way we get the latest version of pre-releases without using weird version schemas.

This only applies to Python versions that hadn't a stable release yet.

Also cache pip-installed packages across runs.

larryhastings commented 11 months ago

Thanks! I'm really new at GitHub Actions.

larryhastings commented 11 months ago

I'm not sure it's really "nicer", because it broke everything

https://github.com/larryhastings/appeal/actions/runs/5693161801

hynek commented 11 months ago

ha sorry I was confused the tests didn't fail on PR?

The problem is that your setup-python version is too old!

Would you like me to open a PR to bump it to v4 or do you want to do it yourself?

hugovk commented 11 months ago

I just opened https://github.com/larryhastings/appeal/pull/13, that also adds the trigger to run the CI for PRs.

hynek commented 11 months ago

Oops race condition 😅