Remove print #269
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
# 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 |