Files
WhatsApp-Chat-Exporter/.github/workflows/ci.yml
2026-01-05 00:31:47 +08:00

46 lines
1.1 KiB
YAML

name: Run Pytest on Dev Branch Push
on:
push:
branches:
- dev
jobs:
ci:
runs-on: ${{ matrix.os }}
permissions:
contents: read
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
include:
- os: windows-latest
python-version: "3.13"
- os: macos-latest
python-version: "3.13"
- os: windows-11-arm
python-version: "3.13"
- os: macos-15-intel
python-version: "3.13"
- os: windows-latest
python-version: "3.14"
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
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 nuitka
- name: Run pytest
run: pytest