Skip to content

Remove rest of spock (WIP) #1035

Remove rest of spock (WIP)

Remove rest of spock (WIP) #1035

Workflow file for this run

name: ci
on:
pull_request:
push:
branches:
- master
jobs:
e2e:
strategy:
fail-fast: false
matrix:
include:
- test: executives.spec
- test: delegates.spec
- test: esmodule.spec
- test: polling.spec
runs-on: ubuntu-latest
env:
INFURA_KEY: ${{ secrets.INFURA_KEY }}
MONGODB_COMMENTS_DB: ${{ secrets.MONGODB_COMMENTS_DB }}
MONGODB_URI: ${{ secrets.MONGODB_URI }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ETHERSCAN_KEY: ${{ secrets.ETHERSCAN_KEY }}
POCKET_KEY: ${{ secrets.POCKET_KEY }}
ALCHEMY_KEY: ${{ secrets.ALCHEMY_KEY }}
REDIS_URL: ${{ secrets.REDIS_URL }}
USE_CACHE: true
TENDERLY_API_KEY: ${{ secrets.TENDERLY_API_KEY }}
DEFENDER_API_SECRET_TESTNET: $${{ secrets.DEFENDER_API_SECRET_TESTNET}}
DEFENDER_API_KEY_TESTNET: ${{ secrets.DEFENDER.API_KEY_TESTNET}}
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: yarn install
- name: Build sdk
run: yarn build-sdk
- run: yarn exec playwright install --with-deps
- name: Run E2E Test
run: yarn run e2e ${{ matrix.test }}
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report-${{ matrix.test }}
path: playwright-report/
retention-days: 30