Skip to content

Commit

Permalink
try to fix cron test
Browse files Browse the repository at this point in the history
  • Loading branch information
tjcloa committed Jan 8, 2025
1 parent b860059 commit 788bccb
Showing 1 changed file with 5 additions and 32 deletions.
37 changes: 5 additions & 32 deletions .github/workflows/cron_amm_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,39 +14,9 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [18.x]

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Setup node.js
uses: actions/setup-node@v1
with:
node-version: "14.x"
- name: Cache node modules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Cache compiler installations
uses: actions/cache@v4
with:
path: |
~/.solcx
~/.vvm
key: ${{ runner.os }}-compiler-cache

# - name: Set pip cache directory path
# id: pip-cache-dir-path
# run: |
Expand All @@ -64,7 +34,10 @@ jobs:
# ${{ runner.os }}-pip-

- name: Install python dependencies
run: pip install -r requirements.txt && brownie pm install OpenZeppelin/[email protected]
run: |
pip install --upgrade pip setuptools wheel
pip install PyYAML==5.4.1 # Install PyYAML first
pip install -r requirements.txt && brownie pm install OpenZeppelin/[email protected]
- name: Withdraw Fees
run: echo $REWARDS_CRON && brownie networks import network-config.yaml true && brownie run scripts/contractInteraction/rewards_cron_amm.py --network=rsk-mainnet
Expand Down

0 comments on commit 788bccb

Please sign in to comment.