Files
check_pa/.gitea/workflows/python-tests.yml
cyroxx 7b76a1fa0f
Some checks failed
Python tests / tests (push) Failing after 1m28s
add pytest
2026-02-03 02:42:46 +01:00

30 lines
630 B
YAML

name: Python tests
on:
push:
branches:
- "*"
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f dev-requirements.txt ]; then pip install -r dev-requirements.txt; fi
- name: Run pytest
run: |
python -m pytest