Bump mypy to 1.7.1 #578
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: Test | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.11] | |
env: | |
ETH_PRIVATE_KEY: ${{ secrets.ETH_PRIVATE_KEY }} | |
ENDPOINT: ${{ secrets.ENDPOINT }} | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
SGX_URL: "" | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Update host dependencies | |
run: sudo apt-get update --fix-missing | |
- name: Install python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install -r requirements-dev.txt | |
pip install codecov | |
- name: Lint with flake8 | |
run: flake8 . | |
- name: Mypy check | |
run: mypy transaction_manager | |
- name: Run test containers | |
run: ./scripts/run-test-containers.sh && sleep 60 | |
- name: Debug info | |
run: docker ps -a && docker logs hnode --tail 500 && docker inspect hnode | |
- name: Run unit tests | |
run: ./scripts/run-tests.sh | |
- name: Run functionality tests | |
run: ./scripts/run-docker-tests.sh |