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

feat: nx agent for IT tests #2443

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 2 additions & 1 deletion .github/workflows/it-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./tools/github-actions/download-build-output
- uses: ./tools/github-actions/setup
- run: npx nx-cloud@latest start-ci-run -- --distribute-on="3 linux-medium-js" --stop-agents-after="test-int"
- shell: bash
run: |
git config --global user.name "GitHub Actions"
Expand Down Expand Up @@ -109,7 +110,7 @@ jobs:
shell: bash
- name: Test
id: it-tests
run: yarn test-int --collectCoverage
run: yarn test-int:affected --collectCoverage
- name: Upload results to Codecov
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ jobs:
# Check the integrity of yarn lock
yarn_lock_check:
runs-on: ubuntu-latest
env:
NX_SKIP_NX_CACHE: true
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./tools/github-actions/setup
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"test:affected": "yarn nx affected --target=test --parallel $(yarn get:cpus-number) --cacheDirectory=$(yarn get:current-dir)/.cache/jest",
"test-e2e": "yarn nx run-many --target=test-e2e --parallel $(yarn get:cpus-number)",
"test-int": "yarn nx run-many --target=test-int --parallel $(yarn get:cpus-number)",
"test-int:affected": "yarn nx affected --target=test-int",
"postinstall": "husky && yarn build:lint && yarn harmonize:version && yarn update-yarn-sdks",
"update-yarn-sdks": "node -e \"'pnp' !== '$(yarn config get nodeLinker)' || process.exit(1)\" || yarn dlx @yarnpkg/sdks",
"build:storybook": "yarn doc:generate:json && yarn ng run storybook:extract-style && build-storybook",
Expand Down
Loading