Files
Nick Ninov 98a51b3920 test: PyPI Versioning
- Validate if the new branch version is greater than `master`
2026-08-04 18:17:39 +03:00

27 lines
534 B
YAML

name: Tests
on:
pull_request:
branches: [master]
types: [opened, synchronize, reopened]
jobs:
version:
name: Verify Version Bump
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install packaging
run: python -m pip install --upgrade packaging
- name: Compare versions
run: python .github/tests/version.py