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

chore: update pytest workflow. #32

Merged
merged 3 commits into from
Dec 14, 2024
Merged

chore: update pytest workflow. #32

merged 3 commits into from
Dec 14, 2024

Conversation

rainwoodman
Copy link
Contributor

@rainwoodman rainwoodman commented Dec 13, 2024

  1. We shall run developer install after the python environment is set up.
  2. Use on: pull_request instead the unsafe and broken on: pull_request_target. We are running arbitrary code and we do not need secretes like GITHUB_TOKEN. (I am not sure about why lintPR.yaml workflow requires it, but if it onlly lints then there is no arbitrary execution to exploit)
  3. now that the workflow actually works, remove the dependency on typing_extension to fix the installation error.

@rainwoodman rainwoodman changed the title update pytest workflow. fix: update pytest workflow. Dec 13, 2024
@rainwoodman rainwoodman changed the title fix: update pytest workflow. chore: update pytest workflow. Dec 13, 2024
This hides secrects like GITHUB_TOKEN, which we do not need.
TypedDict is in Python proper since like 3.8. or 3.9. But also read

    https://news.ycombinator.com/item?id=21307640
@dahlb dahlb merged commit e0c979b into dahlb:main Dec 14, 2024
5 of 7 checks passed
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.

2 participants