Skip to content

Merge pull request #343 from skalenetwork/develop #655

Merge pull request #343 from skalenetwork/develop

Merge pull request #343 from skalenetwork/develop #655

Workflow file for this run

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