fix: generate the poetry lock file #4
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: GitHub Actions MerkleTree | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Display Python version | |
run: python -c "import sys; print(sys.version)" | |
- name: Prepare environment & Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pipx install poetry==1.2.0 | |
poetry install | |
- name: Unit Tests | |
run: | | |
coverage run -m pytest -v -s tests/unit/apps/test_merkle.py | |
coverage report -m |