Files
WhatsApp-Chat-Exporter/.github/workflows/ci.yml
2025-05-07 22:30:04 +08:00

31 lines
655 B
YAML

name: Run Pytest on Dev Branch Push
on:
push:
branches:
- dev
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, "3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[all] pytest
- name: Run pytest
run: pytest # Execute your pytest tests