Skip to content

Commit

Permalink
Add e2e env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
xavikh committed Feb 10, 2025
1 parent 836dc78 commit 7cf5a12
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,35 @@ jobs:
fail-fast: true
name: Test fork
runs-on: ubuntu-latest
env:
NETWORK: "sepolia"
FORK_TEST_MODE: "new-factory"
DEPLOY_AS_PRODUCTION: false
TOKEN_TEST_WHALE: "0x"
FACTORY_ADDRESS: "0x"
MULTISIG_MEMBERS_JSON_FILE_NAME: "/script/multisig-members.json"
MIN_APPROVALS: 1
MULTISIG_PROPOSAL_EXPIRATION_PERIOD: "864000"
MINT_TEST_TOKENS: true
TOKEN1_ADDRESS: "0x0000000000000000000000000000000000000000"
VE_TOKEN1_NAME: "Voting Escrow Token 1"
VE_TOKEN1_SYMBOL: "veTK1"
TOKEN2_ADDRESS: "0x0000000000000000000000000000000000000000"
VE_TOKEN2_NAME: "Voting Escrow Token 2"
VE_TOKEN2_SYMBOL: "veTK2"
FEE_PERCENT: "0" # 10_000 = 100%
WARMUP_PERIOD: "259200" # 3 days
COOLDOWN_PERIOD: "259200" # 3 days
MIN_LOCK_DURATION: "1"
VOTING_PAUSED: true
MIN_DEPOSIT: "10000000000000000" # 0.01 ETH
MULTISIG_PLUGIN_REPO_ADDRESS: "0x9e7956C8758470dE159481e5DD0d08F8B59217A2"
MULTISIG_PLUGIN_RELEASE: "1"
MULTISIG_PLUGIN_BUILD: "2"
SIMPLE_GAUGE_VOTER_REPO_ENS_SUBDOMAIN: "gauge-voter-${{ vars.GITHUB_RUN_ID }}"
DAO_FACTORY: "0x7a62da7B56fB3bfCdF70E900787010Bc4c9Ca42e"
PLUGIN_SETUP_PROCESSOR: "0xC24188a73dc09aA7C721f96Ad8857B469C01dC9f"
PLUGIN_REPO_FACTORY: "0x07f49c49Ce2A99CF7C28F66673d406386BDD8Ff4"
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -55,6 +84,9 @@ jobs:
- name: Build
run: bun run build

- name: Add multisig members
run: echo '[{"members":["0x7771c1510509C0dA515BDD12a57dbDd8C58E5363","0x1A1087Bf077f74fb21fD838a8a25Cf9Fe0818450"]}]' > ./script/multisig-members.json

- name: Run tests
run: bun run test-fork
test-unit:
Expand Down

0 comments on commit 7cf5a12

Please sign in to comment.