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(ci): add workflows to build and test code #271

Merged
merged 1 commit into from
Mar 1, 2024
Merged

Conversation

nathanklick
Copy link
Member

@nathanklick nathanklick commented Mar 1, 2024

Description

This pull request changes the following:

  • Adds several new workflows:
    • PR Formatting adds enforcement of pull request title formatting to ensure they conform to the conventional commit standard.
    • PR Checks ensures all code is tested in each and every pull request.
    • Build Application ensures all code is tested after being merged to the main branch.
  • Fixes several bugs found during the implementation of the CI pipelines.
  • Redacts sensitive keys and other information which should not be present in the repository.
  • Enables code coverage reporting to both CodeCov and Codacy.
  • Enables Codacy SAST analysis support.

Related Issues

@nathanklick nathanklick requested review from a team and michielmulders as code owners March 1, 2024 18:10
@nathanklick nathanklick self-assigned this Mar 1, 2024
Copy link

github-actions bot commented Mar 1, 2024

Unit Test Results

35 tests   35 ✅  25m 47s ⏱️
21 suites   0 💤
 1 files     0 ❌

Results for commit 57c93aa.

Copy link

github-actions bot commented Mar 1, 2024

E2E Test Results

4 tests   4 ✅  49s ⏱️
1 suites  0 💤
1 files    0 ❌

Results for commit 57c93aa.

Copy link

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for 3f17f391 66.67%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (3f17f39) Report Missing Report Missing Report Missing
Head commit (57c93aa) 1636 1085 66.32%

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#271) 3 2 66.67%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

You may notice some variations in coverage metrics with the latest Coverage engine update. For more details, visit the documentation

Footnotes

  1. Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

__tests__/e2e.test.ts Show resolved Hide resolved
@nathanklick nathanklick merged commit 1714d38 into main Mar 1, 2024
10 of 11 checks passed
@nathanklick nathanklick deleted the 00236-CI-Builds branch March 1, 2024 18:24
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.

Enable Codacy and CodeCov coverage reporting Add CI workflow to build and test code
2 participants