timeout modules #364
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: Integration tests | |
on: | |
push: | |
jobs: | |
tests: | |
name: App tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.12' | |
- name: Setup poetry | |
run: | | |
curl -sSL https://install.python-poetry.org/ | python - && echo "$HOME/.poetry/bin" >> $GITHUB_PATH | |
env: | |
POETRY_VERSION: 1.8.2 | |
- name: Install dependencies | |
run: | | |
poetry install | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
- name: Integration tests with pytest | |
if: success() || failure() | |
run: | | |
poetry run pytest tests -m integration | |
env: | |
WEB3_RPC_ENDPOINTS: ${{ secrets.WEB3_RPC_ENDPOINT }} | |
TESTNET_WEB3_RPC_ENDPOINTS: 'https://ethereum-holesky-rpc.publicnode.com' | |
DEPOSIT_CONTRACT: "0x00000000219ab540356cBB839Cbe05303d7705Fa" | |
LIDO_LOCATOR: "0xC1d0b3DE6792Bf6b4b37EccdcC24e45978Cfd2Eb" | |
ONCHAIN_TRANSPORT_RPC_ENDPOINTS: "https://gnosis-chiado-rpc.publicnode.com" | |
ONCHAIN_TRANSPORT_ADDRESS: "0x42E1DEfC18388E3AA1fCADa851499A11405cf37f" | |
ANVIL_PATH: "" |