Skip to content

Run pytest tests

Run pytest tests #5

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
- uses: actions/setup-python@v5 # https://github.com/actions/setup-python/tree/main
with:
python-version: '3.10'
- 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