Skip to content

Commit

Permalink
ci: add cli-command as curated test which showcased failure locally
Browse files Browse the repository at this point in the history
  • Loading branch information
Lewiscowles1986 committed Mar 31, 2024
1 parent 4b30257 commit 6c5fecb
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,30 @@ jobs:
run: |
coverage run --source pycallgraph,scripts -m py.test
coverage report -m
curated_tests:
needs:
- setup
strategy:
matrix:
python_version: ["3.5.10", "3.6.15", "3.7.17", "3.8.18", "3.9.19"]
fail-fast: false
name: Curated Tests - Python ${{ matrix.python_version }}
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python_version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
cache: 'pip'
cache-dependency-path: |
requirements/development.txt
- name: Install dependencies
run: |
python -m pip install -r requirements/development.txt
- name: Install system dependencies
run: sudo apt update -yqq && sudo apt install -yqq graphviz
- name: Run tests
run: |
export PYTHONPATH=$PYTHONPATH:$(pwd)
python scripts/pycallgraph graphviz -- examples/graphviz/basic.py

0 comments on commit 6c5fecb

Please sign in to comment.