GithubHelp home page GithubHelp logo

stanfordbdhg / .github Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 2.0 223 KB

Collection of default community health files, GitHub Action workflows, templates

Home Page: https://biodesigndigitalhealth.stanford.edu

.github's People

Contributors

nikolaimadlener avatar philippzagar avatar pschmiedmayer avatar supereg avatar vishnuravi avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

.github's Issues

๐Ÿ’พ Find alternative action for markdown link check

Problem

We are currently using gaurav-nelson/github-action-markdown-link-check@v1 for our markdown link checker. However, per its README the author is no longer maintaining it. The current action has a number of limitations and false positives (as the author notes) which will not be addressed.

Solution

We can look into other suitable alternatives, or write our own. The author of the action we are currently using also notes that he is working on a new action, which we can consider when it is finished.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines

Publish Individual Actions on the Action Marketplace

Problem

  • While reusable actions provide multiple different needed functionalists, most of these can now be used by actions published on the GitHub Actions Marketplace.

Solution

  • We should extract actions such as the Xcode Build action into a separate repo that hosts the GitHub Action and makes it available to the GitHub Marketplace.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines

Add Documentation for all Included Workflows to the README

Problem

The current README only documents a subset of included workflows.

Solution

It would be great if all workflows are properly documented including some examples and the current examples are updated to reflect the latest changes.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines

Upgrade to new CodeCov action

Problem

We are currently using the v3 version of the codecov action. A newer release v4 removed a feature that we relied on, namely converting .xcresult coverage format to one that codecov understands. This was removed without a proper replacement. We have reported our situation here: codecov/codecov-action#1367. Our motivation to upgrade to v4 is mainly driven by the fact that tokenless uploads were randomly broken in v3.

Their new approach uses llvm-cov which uses .profdata files sourced from the derived data folder (the path is hardcoded to ~/Library/Developer/Xcode/DerivedData), see https://github.com/codecov/uploader/pull/968/files. They scan for all .app, .framework and .test folders in the derived data subfolders.

Solution

There are two ways forward here:

  • Convert the coverage files ourselves
  • Try to adapt our infrastructure to accommodate for their new workflow.

We could use a tool like xcresultparser (available via brew) to do the conversion ourself into the Cobertura XML format. Drawback would be that this introduces yet another tool, not a 100% conversion (authors note Note that some data in this file is currently fake) and relying on the xccov format which might randomly break between Xcode releases (seemingly also the reason why there is not a large adoption for that?).
Another approach could be to execute the xcrun llvm-cov ... commands ourself?

If we wanted to adapt our infrastructure for the new codecov infrastructure. We would need to make sure that the necessary profdata files are uploaded as artifacts (such that the collect coverage reports action can use it). We are probably fine uploading a .xctest archive (not sure how it differs from .xcresult).

Additional context

Related PRs around cutest coverage conversion:

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines

Create a Test Project that Validates the Functionality of the Reusable GitHub Actions

Problem

  • The current repo setup relies on external tests in other repos to validate the functionality of the build scripts

Solution

  • The repo should contain a test project that contains multiple targets to validate the functionality of the different GitHub Actions

Additional context

This issue is a great way to get started with contributing to the GitHub Actions and getting familiar with the issue as it mainly consists of testing and validating the existing functionality.

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.