Files
WhatsApp-Chat-Exporter/.github/workflows/ci.yml
KnugiHK 0bb4f52a26 Add CI
2025-05-07 21:46:19 +08:00

31 lines
647 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