Skip to content

Action for merging blocks + refactoring with split blocks #208

Action for merging blocks + refactoring with split blocks

Action for merging blocks + refactoring with split blocks #208

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: SimpleTesting
# Controls when the workflow will run
on:
# Triggers the workflow on push events
push:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
test:
# The type of runner that the job will run on
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Set up Graphviz installation
run: |
sudo apt-get install -y graphviz-dev
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install .
- name: Lint with Ruff
run: |
pip install ruff
ruff --format=github --target-version=py310 .
continue-on-error: true
- name: Test with pytest
run: |
coverage run -m pytest -v -s
- name: Generate Coverage Report
run: |
coverage report -m