Skip to content

Conversation

@slifty
Copy link
Collaborator

@slifty slifty commented Jan 2, 2026

This PR sets up CI to use codecov (and adds a ci version of the test command to run with coverage)

In the past this has sometimes resulted in a CI that won't fail if tests fail, due to an upstream bug -- I believe that isn't the case here, though once I open the PR and it works I'll add a temporary commit with a failing test to ensure CI fails.

Related to #33

This should be merged after #764

@codecov
Copy link

codecov bot commented Jan 2, 2026

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: PermanentOrg/sftp-service
fail_ci_if_error: true
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is something we might want to consider adding to our other codecov configs -- without it CI can still pass even if we don't successfully upload coverage to CodeCov

@slifty slifty force-pushed the 33-update-test-ci branch from c63bc5f to 755e7c9 Compare January 5, 2026 21:09
Base automatically changed from 33-update-test-ci to main January 5, 2026 21:13
Now that we're starting to write tests we should follow practices of our
other repositories and use CodeCov.

In the past we've run tests twice (once with coverage and once without)
due to an upstream issue[1], however I don't think we need to do this
since we don't use runInBand and also that issue may now be fixed.

Issue #33 We need tests

1. kulshekhar/ts-jest#4193
@slifty slifty enabled auto-merge January 5, 2026 21:17
@slifty slifty merged commit 34c8552 into main Jan 5, 2026
6 checks passed
@slifty slifty deleted the 33-add-codecov branch January 5, 2026 21:18
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.

3 participants