floresta-chain: new optimized chainstore #700
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
# runs our functinal tests from tests/ | |
on: | |
push: | |
pull_request: | |
branches: ["master"] | |
jobs: | |
functional: | |
name: Functional | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install poetry | |
run: pipx install poetry | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
cache: 'poetry' | |
cache-dependency-path: './poetry.lock' | |
- name: Prepare environment | |
run: poetry install --no-root | |
- name: Run black formatting | |
run: poetry run poe format --check --verbose | |
- name: Run pylint linter | |
run: poetry run poe lint --verbose | |
- name: Cache Rust | |
uses: Swatinem/rust-cache@v2 | |
- name: Build Floresta | |
run: cargo build | |
- name: Run functional tests tasks | |
run: poetry run poe tests |