-
-
Notifications
You must be signed in to change notification settings - Fork 228
add CI workflow #683
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
Open
moreorover
wants to merge
31
commits into
AmanVarshney01:main
Choose a base branch
from
moreorover:fix/tests
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
add CI workflow #683
Changes from 27 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
19978a7
fix: tests
moreorover cd98ec0
fix: tests
moreorover 6f20ff6
fix: tests
moreorover b7e6568
initial commit
moreorover d48592f
Merge branch 'main' into fix/tests
moreorover d73c915
fix: setup pnpm
moreorover 4d33b3d
fix: setup git user
moreorover a17d400
fix: setup git user
moreorover f744cfa
fix: coverage
moreorover c486e3b
remove .idea
moreorover baa7340
remove .idea
moreorover 78dc847
run tests from root
moreorover 1e112f3
increase test timeout
moreorover 4478fa0
fix: codecov
moreorover c2732c6
fix: codecov
moreorover b1608a3
fix: coverage skip test files
moreorover 86c08d1
Merge branch 'main' into fix/tests
moreorover dffee34
Merge branch 'main' into fix/tests
AmanVarshney01 1401ab9
Merge branch 'main' into fix/tests
moreorover 5133348
fix: fix tests
moreorover 9b21cf7
fix: fix tests
moreorover 8b9a882
Revert "fix: fix tests"
moreorover 659d2c9
fix: fix tests
moreorover 829117e
Revert "fix: fix tests"
moreorover 4964ecb
fix: fix tests
moreorover 3eb883d
Merge branch 'main' into fix/tests
moreorover 5e20990
Merge branch 'main' into fix/tests
moreorover 61ff06e
fix: fix tests
moreorover a5ef83f
fix: fix tests
moreorover 954c18d
fix: fix tests
moreorover 2d6b332
Merge branch 'main' into fix/tests
moreorover File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| name: Test | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: | ||
| - main | ||
|
|
||
| jobs: | ||
| test: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout Code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup Git user | ||
| shell: bash | ||
| run: | | ||
| git config --global user.name github-actions[bot] | ||
| git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com | ||
|
|
||
| - name: Setup Bun | ||
| uses: oven-sh/setup-bun@v2 | ||
| with: | ||
| bun-version: latest | ||
|
|
||
| - name: Setup pnpm | ||
| uses: pnpm/action-setup@v4 | ||
| with: | ||
| version: 10 | ||
|
|
||
| - name: Install Dependencies | ||
| run: bun install --frozen-lockfile | ||
| env: | ||
| BTS_TELEMETRY: 1 | ||
| POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }} | ||
| POSTHOG_HOST: ${{ secrets.POSTHOG_HOST }} | ||
|
|
||
| - name: Run Tests | ||
| run: bun test --timeout 15000 | ||
|
|
||
| - name: Upload coverage to Codecov | ||
| uses: codecov/codecov-action@v5 | ||
| with: | ||
| files: ./coverage/lcov.info | ||
| env: | ||
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -38,4 +38,6 @@ yarn-error.log* | |
| .vscode | ||
| .env*.local | ||
|
|
||
| .smoke | ||
| .smoke | ||
|
|
||
| .idea | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.