build(deps-dev): bump ipython from 8.4.0 to 8.17.2 in /requirements #83
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: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ "*" ] | |
env: | |
GETH_URL_LINUX: 'https://gethstore.blob.core.windows.net/builds/geth-linux-amd64-1.10.1-c2d2f4ed.tar.gz' | |
GETH_MD5_LINUX: '5e18a027f9919ed9ba08abd15c169f61' | |
GETH_URL_MACOS: 'https://gethstore.blob.core.windows.net/builds/geth-darwin-amd64-1.10.1-c2d2f4ed.tar.gz' | |
GETH_MD5_MACOS: '50270c1205c0a27457d9a8b182670c83' | |
GETH_VERSION: '1.10.1' | |
SOLC_URL_LINUX: 'https://github.com/ethereum/solidity/releases/download/v0.6.3/solc-static-linux' | |
SOLC_VERSION: 'v0.6.3' | |
jobs: | |
lint-and-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.8, 3.9] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Prepare cache key | |
run: | | |
echo ${GETH_VERSION} > /tmp/geth-version | |
echo ${SOLC_VERSION} > /tmp/solc-version | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
~/.local | |
key: ${{ runner.os }}-v1-geth-${{ hashFiles('/tmp/geth-version') }}-solc-{{'/tmp/solc-version'}} | |
- name: Install geth and solc | |
run: | | |
export OS_NAME=$(uname -s | sed s/Darwin/macos/ | tr '[:lower:]' '[:upper:]') | |
.github/fetch_geth_parity_solc.sh | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
~/.cache/pip | |
~/venv | |
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-v3-${{ hashFiles('requirements/requirements-dev.txt') }} | |
restore-keys: | | |
${{ runner.os }}-pip-${{ matrix.python-version }}-v3- | |
- name: Install dependencies | |
run: | | |
if [ ! -x venv ]; then python3 -m venv venv; fi | |
source ./venv/bin/activate | |
python -m pip install --upgrade pip wheel codecov setuptools | |
make install-dev | |
- name: Lint | |
run: | | |
source ./venv/bin/activate | |
make lint | |
- name: Test | |
run: | | |
source ./venv/bin/activate | |
export PATH=$PATH:$HOME/.local/bin | |
pytest raiden_common/tests -n 4 -x |