PyGithub icon indicating copy to clipboard operation
PyGithub copied to clipboard

Add Workflow.get_artifacts

Open yixinguo2 opened this issue 4 years ago • 3 comments

This is recreating a PR that was closed due to being stale. https://github.com/PyGithub/PyGithub/pull/1985

  • createWorkflow.get_artifacts

yixinguo2 avatar May 30 '22 20:05 yixinguo2

@s-t-e-v-e-n-k Could you take a look at your convenience? I believe I have addressed your comments in the original PR https://github.com/PyGithub/PyGithub/pull/1985

yixinguo2 avatar May 30 '22 20:05 yixinguo2

PyGithub does not return dicts, it returns instances of classes like Workflow or WorkflowRun, right? So Workflow.get_artifact(run) should return an Artifact.

I think this work should be based on #2319.

EnricoMi avatar Sep 30 '22 07:09 EnricoMi

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 98.89%. Comparing base (7e6333d) to head (e6101c7). :warning: Report is 508 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2245   +/-   ##
=======================================
  Coverage   98.89%   98.89%           
=======================================
  Files         108      108           
  Lines       11133    11152   +19     
=======================================
+ Hits        11010    11029   +19     
  Misses        123      123           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov-commenter avatar Sep 19 '24 13:09 codecov-commenter