Skip to content

msabvid pre-merge checks #38

msabvid pre-merge checks

msabvid pre-merge checks #38

Workflow file for this run

name: pre-merge
run-name: ${{ github.actor }} pre-merge checks
on: [pull_request]
jobs:
linting:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- run: pip install hatch
- run: hatch run dev:lint
test_examples:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- run: pip install hatch
- run: hatch run examples:uniswap --seed 101
- run: hatch run examples:uniswap --seed 202
- run: hatch run examples:uniswap --seed 303
- run: hatch run examples:uniswap --seed 404
- run: hatch run examples:uniswap --seed 505 --batch_runner
- run: hatch run examples:aave --seed 606
- run: hatch run examples:aave --seed 707
- run: hatch run examples:aave --seed 808
- run: hatch run examples:aave --seed 909
- run: hatch run examples:aave --seed 1010 --batch_runner
python_docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install hatch 🐣
run: pip install hatch
- name: Install verbs-examples and build docs 📚
run: hatch run docs:build
- name: Test doc examples
run: hatch run docs:test