Skip to content

Merge pull request #513 from lidofinance/feat/fix-snapshot-tests #443

Merge pull request #513 from lidofinance/feat/fix-snapshot-tests

Merge pull request #513 from lidofinance/feat/fix-snapshot-tests #443

Workflow file for this run

name: Large vote CI
on:
push:
branches:
- "master"
- "feat/tests"
- "feat/rc3"
- "feat/rc2"
- "feat/rc1"
- "feat/next-vote"
schedule:
- cron: "0 0 * * TUE"
jobs:
run-tests-large-1:
name: Brownie fork LARGE tests 1
runs-on: [protocol-heavy-runners]
timeout-minutes: 150
steps:
- name: Enabling swap
run: |
sudo df -h
sudo swapon --show
sudo swapoff -a
sudo touch /swapfile
sudo fallocate -l 32G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo swapon --show
- uses: actions/checkout@v4
- name: Main action
uses: ./.github/actions/brownie_fork_tests
with:
vote: "large"
rpc_url: ${{ secrets.ETH_RPC_URL }}
etherscan: ${{ secrets.ETHERSCAN_TOKEN }}
command: "make test-1/2"
run-tests-large-2:
name: Brownie fork LARGE tests 2
runs-on: [protocol-heavy-runners]
timeout-minutes: 150
steps:
- name: Enabling swap
run: |
sudo df -h
sudo swapon --show
sudo swapoff -a
sudo touch /swapfile
sudo fallocate -l 32G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo swapon --show
- uses: actions/checkout@v4
- name: Main action
uses: ./.github/actions/brownie_fork_tests
with:
vote: "large"
rpc_url: ${{ secrets.ETH_RPC_URL }}
etherscan: ${{ secrets.ETHERSCAN_TOKEN }}
command: "make test-2/2"