Skip to content

Refactor decoding

Refactor decoding #242

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: abatilo/actions-poetry@v2
with:
poetry-version: 1.6.1
- uses: actions/cache@v3
with:
path: |
~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-${{ matrix.python-version }}-poetry-${{ hashFiles('**/poetry.lock') }}
- run: brew install automake
if: matrix.os == 'macos-latest'
- run: poetry install
- name: Run test
run: poetry run pytest -s --cov=web3_input_decoder tests --cov-report xml
- name: Upload to codecov
uses: codecov/codecov-action@v3
- run: poetry build