msabvid pre-merge checks #26
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 sphinx:build | |
- name: Test doc examples | |
run: hatch run sphinx:test |