feat: add inner processes & multiple file handling #16
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
name: Pull Request Testing | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
cache: 'pip' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Install Graphviz | |
run: | | |
sudo apt-get install graphviz graphviz-dev | |
pip install pygraphviz | |
- name: Test with pytest | |
run: | | |
python -m pytest -o log_cli=true -s -vv --cov | |
- name: Linting | |
run: | | |
python -m black . | |
python -m isort . | |
python -m flake8 . | |