mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-01-29 05:40:42 +00:00
55 lines
1.4 KiB
YAML
55 lines
1.4 KiB
YAML
name: Run Pytest on Dev Branch Push
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- dev
|
|
|
|
jobs:
|
|
ci:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
python-version: [3.9, "3.10", "3.11", "3.12", "3.13"]
|
|
include:
|
|
- os: windows-latest
|
|
python-version: "3.13"
|
|
- os: macos-latest
|
|
python-version: "3.13"
|
|
exclude:
|
|
- os: windows-latest
|
|
python-version: 3.9
|
|
- os: windows-latest
|
|
python-version: "3.10"
|
|
- os: windows-latest
|
|
python-version: "3.11"
|
|
- os: windows-latest
|
|
python-version: "3.12"
|
|
- os: macos-latest
|
|
python-version: 3.9
|
|
- os: macos-latest
|
|
python-version: "3.10"
|
|
- os: macos-latest
|
|
python-version: "3.11"
|
|
- os: macos-latest
|
|
python-version: "3.12"
|
|
|
|
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
|