Nightly build #1138
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: Nightly build | |
on: | |
schedule: | |
- cron: '14 3 * * *' | |
env: | |
NODE_VERSION: 18 | |
PYTHON_VERSION: 3.9 | |
jobs: | |
nightly-build-gas-without-node-rotation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install NODE JS | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: yarn | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
cache: pip | |
- name: Install project | |
run: yarn install | |
- name: Run gas measurements | |
env: | |
NODE_OPTIONS: --max_old_space_size=6952 | |
run: | | |
rm gas/nodeRotation.ts | |
npx hardhat test gas/*.ts | |
nightly-build-gas-node-rotation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install NODE JS | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: yarn | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
cache: pip | |
- name: Install project | |
run: yarn install | |
- name: Run gas measurements | |
env: | |
NODE_OPTIONS: --max_old_space_size=6952 | |
run: npx hardhat test gas/nodeRotation.ts | |
nightly-build-long-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install NODE JS | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: yarn | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
cache: pip | |
- name: Install project | |
run: yarn install | |
- name: Run long tests | |
run: npx hardhat test long-test/* |