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

refactor: restructure to tests and CI workflow to reduce CI time #5951

Merged
merged 28 commits into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e4680ec
Enable debug logging for e2e tests
nazarhussain Sep 12, 2023
c8d67fe
Reduce the duration of lightclient test
nazarhussain Sep 18, 2023
47a74c7
Run all e2e tests with minimal preset
nazarhussain Sep 18, 2023
c72189f
Fix the few e2e tests
nazarhussain Sep 18, 2023
0d3f1d6
Fix test job names
nazarhussain Sep 18, 2023
781d9ac
Fix the task script
nazarhussain Sep 18, 2023
32c63ea
Add yarn cache to node actions
nazarhussain Sep 18, 2023
83e847a
Update few e2e tests after code review
nazarhussain Sep 18, 2023
5a040a9
Fix the type export to use with transpilation
nazarhussain Sep 19, 2023
b0fb341
Remove unused file
nazarhussain Sep 19, 2023
7e40822
Revert changes to an e2e test file
nazarhussain Sep 19, 2023
ef8ed66
Reduce the genesis delay
nazarhussain Sep 19, 2023
b5476ac
Refactor workflow jobs
nazarhussain Sep 19, 2023
1399df1
Add .git-data to build cache
nazarhussain Sep 19, 2023
477b038
Fix spec tests option
nazarhussain Sep 19, 2023
502e024
Upgrade the github action version
nazarhussain Sep 19, 2023
66e6c58
Add a package dev dependency
nazarhussain Sep 19, 2023
1c62782
Add artifact name
nazarhussain Sep 19, 2023
6dc4d12
Update the workflow to add env variables
nazarhussain Sep 19, 2023
65f47f4
Update the workflow to add env variables
nazarhussain Sep 19, 2023
97862b7
Add tsnode option
nazarhussain Sep 19, 2023
e50a1cf
Parallelize the spec tests
nazarhussain Sep 20, 2023
e991c1e
Add the ts-node configuration
nazarhussain Sep 20, 2023
5041b85
Update tsconfig for the e2e tests
nazarhussain Sep 20, 2023
7f4b960
Update the tsconfig for the project
nazarhussain Sep 20, 2023
dd95596
Fix the types issue
nazarhussain Sep 20, 2023
b23d74b
Remove unused file
nazarhussain Sep 21, 2023
39afebc
Increase the retries for one unstable test
nazarhussain Sep 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
with:
node-version: 20
check-latest: true
cache: yarn
- name: Node.js version
id: node
run: echo "v8CppApiVersion=$(node --print "process.versions.modules")" >> $GITHUB_OUTPUT
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docs-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 20
cache: yarn
- name: Node.js version
id: node
run: echo "v8CppApiVersion=$(node --print "process.versions.modules")" >> $GITHUB_OUTPUT
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
with:
node-version: 20
check-latest: true
cache: yarn
- name: Node.js version
id: node
run: echo "v8CppApiVersion=$(node --print "process.versions.modules")" >> $GITHUB_OUTPUT
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
node-version: 20
registry-url: "https://registry.npmjs.org"
check-latest: true
cache: yarn
- name: Node.js version
id: node
run: echo "v8CppApiVersion=$(node --print "process.versions.modules")" >> $GITHUB_OUTPUT
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
with:
node-version: 20
check-latest: true
cache: yarn
- name: Node.js version
id: node
run: echo "v8CppApiVersion=$(node --print "process.versions.modules")" >> $GITHUB_OUTPUT
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
with:
node-version: 20
check-latest: true
cache: yarn
- name: Node.js version
id: node
run: echo "v8CppApiVersion=$(node --print "process.versions.modules")" >> $GITHUB_OUTPUT
Expand Down
64 changes: 0 additions & 64 deletions .github/workflows/test-browser.yml

This file was deleted.

78 changes: 0 additions & 78 deletions .github/workflows/test-e2e.yml

This file was deleted.

5 changes: 3 additions & 2 deletions .github/workflows/test-sim-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
with:
node-version: 20
check-latest: true
cache: yarn
- name: Node.js version
id: node
run: echo "v8CppApiVersion=$(node --print "process.versions.modules")" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -91,7 +92,7 @@ jobs:

- name: Upload debug log test files
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: debug-test-logs
path: packages/beacon-node/test-logs
Expand Down Expand Up @@ -143,7 +144,7 @@ jobs:

- name: Upload debug log test files
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: debug-test-logs
path: packages/beacon-node/test-logs
1 change: 1 addition & 0 deletions .github/workflows/test-sim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
with:
node-version: 20
check-latest: true
cache: yarn
- name: Node.js version
id: node
run: echo "v8CppApiVersion=$(node --print "process.versions.modules")" >> $GITHUB_OUTPUT
Expand Down
69 changes: 0 additions & 69 deletions .github/workflows/test-spec.yml

This file was deleted.

Loading
Loading