Testing with Github Actions
name: Python CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2 # https://github.com/marketplace/actions/setup-python
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
env:
PYTHONPATH: ${{ github.workspace }}
run: |
pytest tests/
Tests
============================= test session starts ==============================
platform linux -- Python 3.10.14, pytest-8.2.2, pluggy-1.5.0
rootdir: /home/runner/work/debugvisualizer/debugvisualizer
configfile: pyproject.toml
collected 2 items
tests/test_plotter.py .. [100%]
============================== 2 passed in 0.20s ===============================