VM Nightly #1854
This file contains 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
name: VM Nightly | |
on: | |
schedule: | |
- cron: 0 0 * * * | |
workflow_dispatch: | |
env: | |
cwd: ${{github.workspace}}/packages/vm | |
defaults: | |
run: | |
working-directory: packages/vm | |
jobs: | |
test-vm-api: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
# The job is meant to run with a fresh lock file | |
# to detect any possible issues with new dep versions. | |
- run: rm package-lock.json | |
working-directory: ${{github.workspace}} | |
- run: npm i | |
working-directory: ${{github.workspace}} | |
- run: npm run test:API | |
# - run: npm run test:API:browser | |
test-vm-state: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
# The job is meant to run with a fresh lock file | |
# to detect any possible issues with new dep versions. | |
- run: rm package-lock.json | |
working-directory: ${{github.workspace}} | |
- run: npm i | |
working-directory: ${{github.workspace}} | |
- run: npm run test:state:allForks | |
test-vm-blockchain: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
# The job is meant to run with a fresh lock file | |
# to detect any possible issues with new dep versions. | |
- run: rm package-lock.json | |
working-directory: ${{github.workspace}} | |
- run: npm i | |
working-directory: ${{github.workspace}} | |
- run: npm run test:blockchain:allForks | |
working-directory: '${{ env.cwd }}' | |
test-vm-slow: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
# The job is meant to run with a fresh lock file | |
# to detect any possible issues with new dep versions. | |
- run: rm package-lock.json | |
working-directory: ${{github.workspace}} | |
- run: npm i | |
working-directory: ${{github.workspace}} | |
- run: npm run test:state:slow |