Skip to content

Conversation

@ericphanson
Copy link
Member

@ericphanson ericphanson commented Aug 19, 2021

Now we run two jobs:

  • One does the diff_context which is the default, and generates github suggestions. However it only looks at the diff-- any doctests failing elsewhere are ignored.
  • one uses the nofilter context and can only make "annotations" (like codecov). These you can toggle visibility by pressing "a". They aren't committable, just for awareness. The workflow will fail if there are any annotations, i.e. any changed doctests.

The previous way was only the first job.

I experimented with this on an internal repo, though I should've done it on a public one so everyone can see the experiments.

This addresses @christopher-dG's concern in #18 (comment).

- uses: codecov/codecov-action@v1
with:
file: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed for public repos I think:

Suggested change
token: ${{ secrets.CODECOV_TOKEN }}

@ericphanson
Copy link
Member Author

Looks like this might be able to be bundled into a single action: julia-actions/julia-fix-doctests#1

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.

1 participant