Skip to content

Run pytest tests

Run pytest tests #1

Workflow file for this run

name: Run pytest tests
on:
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- 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: |
python -m pip install --upgrade pip
pip install pytest
- name: Pytest summary
uses: dariocurr/pytest-summary@v2
with:
paths: my_code.py