feat: add class to serialize/deserialize on chain blueprint object #175
Workflow file for this run
This file contains hidden or 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: tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - dev | |
| tags: | |
| - v* | |
| pull_request: | |
| branches: | |
| - dev | |
| - main | |
| jobs: | |
| test: | |
| name: python-${{ matrix.python }} (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 40 # default is 360 | |
| strategy: | |
| matrix: | |
| python: | |
| - "3.9" | |
| - "3.10" | |
| - "3.11" | |
| - "3.12" | |
| os: | |
| - ubuntu-22.04 | |
| - macos-13 | |
| # - windows-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| - name: Install Poetry | |
| run: pipx install poetry | |
| - name: Install Poetry dependencies | |
| run: poetry install -n --no-root --with dev -E client | |
| - name: Run linters | |
| run: poetry run make check | |
| - name: Run tests | |
| run: poetry run make tests | |
| continue-on-error: ${{ matrix.tier > 1 }} | |
| - name: Upload coverage | |
| uses: codecov/codecov-action@29386c70ef20e286228c72b668a06fd0e8399192 # https://github.com/codecov/codecov-action/releases/tag/v1 | |
| if: matrix.python == 3.9 && startsWith(matrix.os, 'ubuntu') |