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

update e2e-tests deps #1381

Merged
merged 6 commits into from
Nov 19, 2024
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/check-migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 20.x

- name: Install deps
run: sudo apt -y install protobuf-compiler
Expand All @@ -40,7 +40,7 @@ jobs:
run: rustup target list --installed

- name: Build EXTRA_ARGS
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
if: ${{ !startsWith(github.ref, 'refs/tags/runtime') }}
run: |
EXTRA_FLAGS+="--disable-spec-check"
echo "Disabling the spec check since we are not releasing"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 20.x
cache: 'yarn'
cache-dependency-path: e2e-tests/yarn.lock

Expand Down
17 changes: 12 additions & 5 deletions .github/workflows/runtime-upgrade-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check permission
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
result-encoding: string
script: |
Expand All @@ -35,7 +35,7 @@ jobs:
steps:
- name: Validate and set inputs
id: test-input
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
result-encoding: string
script: |
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:

- name: Get branch and sha
id: get-branch-sha
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
result-encoding: string
Expand All @@ -89,7 +89,7 @@ jobs:
core.setOutput("sha", pull_request.data.head.sha)

- name: Post starting comment
uses: actions/github-script@v6
uses: actions/github-script@v7
env:
MESSAGE: |
Runtime upgrade test is scheduled at ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}.
Expand Down Expand Up @@ -126,6 +126,13 @@ jobs:
- name: Build runtime
run: cargo build -p ${{ steps.test-input.outputs.runtime }}-runtime --release --locked

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'yarn'
cache-dependency-path: tests/e2e/yarn.lock

- name: Run runtime upgrade test
id: test
run: |
Expand All @@ -134,7 +141,7 @@ jobs:
yarn test:runtime-upgrade-${{ steps.test-input.outputs.runtime }} > ${{runner.temp}}/out.txt

- name: Post result comment
uses: actions/github-script@v6
uses: actions/github-script@v7
env:
MESSAGE: |
Runtime upgrade test finished:
Expand Down
6 changes: 3 additions & 3 deletions tests/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"test:runtime-upgrade-astar": "RUNTIME=astar yarn test tests/runtime-upgrade.test.ts"
},
"dependencies": {
"@acala-network/chopsticks-testing": "^0.13.2",
"typescript": "^5.3.0",
"vitest": "^2.0"
"@acala-network/chopsticks-testing": "^1.0.1",
"typescript": "5.6",
"vitest": "^2.1"
},
"prettier": {
"tabWidth": 2,
Expand Down
Loading
Loading