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(cli): attempt to run all e2e tests in CI #1489

Draft
wants to merge 6 commits into
base: master
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
2 changes: 1 addition & 1 deletion .github/actions/e2e-login/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ runs:
run: |
echo "${{ env.E2E_TOKEN_PASSPHRASE }}" | gpg -a --batch --passphrase-fd 0 --symmetric --cipher-algo AES256 --output encodedConfig $CLI_CONFIG_PATH
echo "cliConfigJson=$(base64 -w 0 encodedConfig)" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
- uses: actions/upload-artifact@v4
if: cancelled() || failure() || success()
with:
name: login-test-artifacts
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/e2e-run/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ runs:
run: |
git config --global core.autocrlf false
git config --global core.eol lf
npm i -g npm@latest
npm i -g npm@10.8.2
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
with:
cache: 'npm'
Expand Down Expand Up @@ -77,7 +77,7 @@ runs:
npm_config_registry: ${{inputs.npmRegistry}}
working-directory: packages/cli-e2e
run: npm run jest:ci -- ${{inputs.spec}} ${{inputs.flag}}
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
- uses: actions/upload-artifact@v4
if: cancelled() || failure() || success()
with:
name: ${{inputs.os}}-${{inputs.node}}-${{inputs.spec}}-test-artifacts
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: |
git config --global core.autocrlf false
git config --global core.eol lf
npm i -g npm@latest
npm i -g npm@10.8.2
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
with:
Expand All @@ -59,7 +59,7 @@ jobs:
run: |
git config --global core.autocrlf false
git config --global core.eol lf
npm i -g npm@latest
npm i -g npm@10.8.2
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
with:
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
run: |
git config --global core.autocrlf false
git config --global core.eol lf
npm i -g npm@latest
npm i -g npm@10.8.2
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
with:
# pulls all commits (needed for computing the next version)
Expand All @@ -124,7 +124,7 @@ jobs:
run: npm run build
- name: Setup E2E tests
run: node -r ts-node/register/transpile-only packages/cli-e2e/setup/ci-verdaccio.ts
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
- uses: actions/upload-artifact@v4
if: cancelled() || failure() || success()
with:
name: ${{matrix.os}}-verdaccio-publish-artifacts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/delete-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
node ./scripts/cleaning/delete-orgs.js --olderThan 1d
env:
DISPLAY: ':1'
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
- uses: actions/upload-artifact@v4
if: cancelled() || failure() || success()
with:
name: cleaning-artifacts
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
git commit -m "patch"
git format-patch HEAD^1 --output=release.patch
- name: Upload artifacts
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
uses: actions/upload-artifact@v4
with:
name: npm-release
path: |
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
} >> "$GITHUB_OUTPUT"
- name: Upload Jest Snapshots
if: ${{ steps.snapshots-path.outputs.snapshotsPath != ''}}
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
uses: actions/upload-artifact@v4
with:
name: release-e2e-snaps
path: ${{ steps.snapshots-path.outputs.snapshotsPath }}
Expand Down Expand Up @@ -218,7 +218,7 @@ jobs:
} >> "$GITHUB_OUTPUT"
- name: Upload Jest Snapshots
if: ${{ steps.snapshots-path.outputs.snapshotsPath != ''}}
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
uses: actions/upload-artifact@v4
with:
name: release-e2e-snaps
path: ${{ steps.snapshots-path.outputs.snapshotsPath }}
Expand Down Expand Up @@ -399,7 +399,7 @@ jobs:
mv "coveo-v${{env.CLI_VERSION}}-${{env.commitSHA1}}-arm64-signed.pkg" "coveo-v${{env.CLI_VERSION}}-${{env.commitSHA1}}-arm64.pkg"
rm notarization-arm64.zip notarization-x64.zip
- name: Upload binaries
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
uses: actions/upload-artifact@v4
with:
name: release-binaries
path: ./packages/cli/core/dist/**/*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/renovate-jest-snap-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: |
git config --global core.autocrlf false
git config --global core.eol lf
npm i -g npm@latest
npm i -g npm@10.8.2
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
with:
ref: ${{ github.event.workflow_run.head_branch }}
Expand Down
Loading
Loading