Skip to content

meta: Depend on cairo-rs-py for devnet-sequencer #145

meta: Depend on cairo-rs-py for devnet-sequencer

meta: Depend on cairo-rs-py for devnet-sequencer #145

Workflow file for this run

name: Unit Tests
on: [push]
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install Poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.3"
- name: Install Poetry dependencies
run: bin/install
- name: Format and Lint
run: |
poetry run black --check . # Black for Python
poetry run cairo-format -c $(find . -type f -name "*.cairo")
- name: Compile
run: poetry run nile compile
- name: Test
run: poetry run pytest