test: delete ape tests #105
This file contains hidden or 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: tests-boa | |
on: [push] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
HYPOTHESIS_PROFILE: no-shrink | |
jobs: | |
pre-commit: | |
name: pre-commit | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v5 | |
with: | |
submodules: recursive | |
- name: Install uv | |
uses: astral-sh/setup-uv@v6 | |
with: | |
enable-cache: true | |
- name: Install Python 3.12.6 | |
run: uv python install 3.12.6 | |
- name: Run pre-commit checks | |
run: uvx pre-commit run --all-files --show-diff-on-failure | |
tests: | |
name: ${{ matrix.folder }} | |
runs-on: ubuntu-latest | |
needs: pre-commit | |
strategy: | |
fail-fast: false | |
matrix: | |
folder: | |
- "tests/flashloan" | |
- "tests/lm_callback" | |
- "tests/controller" | |
- "tests/price_oracles" | |
- "tests/zaps" | |
- "tests/amm" | |
- "tests/lending" | |
- "tests/stableborrow --ignore=tests/stableborrow/stabilize" | |
- "tests/stableborrow/stabilize" | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v5 | |
with: | |
submodules: recursive | |
- name: Install uv | |
uses: astral-sh/[email protected] | |
with: | |
enable-cache: true # Enables built-in caching for uv | |
- name: Cache Compiler Installations | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.vvm | |
key: compiler-cache-${{ hashFiles('**/uv.lock') }} | |
- name: Set up Python 3.12.6 | |
run: uv python install 3.12.6 | |
- name: Install Requirements | |
run: uv sync | |
- name: Run tests | |
run: | | |
uv run pytest ${{ matrix.folder }} -n auto |