Skip to content

[SC-773] Apply config and logger. #10

[SC-773] Apply config and logger.

[SC-773] Apply config and logger. #10

Workflow file for this run

name: Unittest
on: [pull_request]
jobs:
unit_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Change private repo url
run: |
sed -i -e "s/git@/${{ secrets.ICONLOOP_PRIVATE_REPO_ACCESS_TOKEN }}@/" -e "s/git+ssh:/git+https:/" pyproject.toml
- name: Install dependencies for ecdsa
run: |
sudo apt-get update
sudo apt-get install -y \
libgmp3-dev \
libmpfr-dev \
libmpc-dev
- name: Install dependencies
run: |
python -V
pip install -e .[dev]
- name: Run unit tests
run: pytest -vx